You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-29Lines changed: 5 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ Some of the tools available in this library include:
6
6
- Support for approximate reasoning using fuzzy association rules, for both classification and regression problems. This includes rule base optimization using genetic algorithms and rule visualization.
7
7
- Precomputed and optimized fuzzy variables and their correspondent linguistic variables (i.e low, medium, high).
8
8
- Support for various kinds of fuzzy sets, including classic fuzzy sets, IV-fuzzy sets and General Type 2 fuzzy sets.
9
+
- Rule mining using support, confidence and lift measures. Customizable genetic optimization of the rule bases parameters.
9
10
10
11
## Main Characteristics
11
12
@@ -15,22 +16,22 @@ ex-Fuzzy is designed to be easy to use. Linguistic variables can be precomputed
15
16
16
17
### Reusable code
17
18
18
-
Code is designed so that some parts can be easily extendable, so that some use cases, like research, can be also supported. The rule base optimization is done using a Genetic Algorithm, but almost any other pymoo search algorithm will do. Fuzzy sets can be extended with ease, just as the kind of partitions, membership functions, etc.
19
+
Code is designed so that some parts can be easily extendable so that some use cases, like research, can be also supported. The rule base optimization is done using a Genetic Algorithm, but almost any other pymoo search algorithm will do. Fuzzy sets can be extended with ease, just as the kind of partitions, membership functions, etc.
19
20
20
21
### Sci-py like interface
21
22
22
23
ex-Fuzzy is built taking into account the actual machine-learing frameworks used in Python. Training amd sing a rule base classifier works exactly as sci-kit learn classifier. Parameters such as the number of rules or antecedents are also built
23
24
24
-
### Visualize the results
25
+
### Visualization
25
26
26
27
Use plots to visualize any kind of fuzzy sets, and use graphs to visualize rules or print them on screen.
<imgsrc="https://private-user-images.githubusercontent.com/12574757/310877940-cf4453fe-6f82-4f49-b418-c774729022f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk4MTUxMzAsIm5iZiI6MTcwOTgxNDgzMCwicGF0aCI6Ii8xMjU3NDc1Ny8zMTA4Nzc5NDAtY2Y0NDUzZmUtNmY4Mi00ZjQ5LWI0MTgtYzc3NDcyOTAyMmY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA3VDEyMzM1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjY2NlYmNkYTBlMWJmOWUyZTViMjBlOTI2Y2Q5MTMxOTZlNzgwMjM4MjM5MmZkZjMyNTM2YTA2MzZlZDYzYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D7dvwn_gkW5SVWBhOkNywlGgUiSzl-HABPcBte1j3gE"width="350"title="General Type 2 example">
The Demos folder contains a series of demos to try different features of the ex-fuzzy library. These are presented in two different formats: jupyter notebooks and python modules, which are stored under the demos_module folder. You dont need to install the library to execute them.
66
-
67
-
The list of demos is the following:
68
-
69
-
1. iris_demo: shows a simple classification example. It shows how to train a classifier, how to save checkpoints, how to show the rules in latex tabular format and to save them into a text file.
70
-
2. iris_demo_custom_loss: a classification example where the predefined loss is changed by other function.
71
-
3. iris_demo_persistence: a classification example where the rules are saved into a file and then imported for another classifier.
72
-
4. precandidate_rules_demo: a classification example where we first fit a fuzzy classifier as usual, and then, we look for the optimal subset of those rules.
73
-
5. regression_demo: an example of a regression problem using inerval-type 2 fuzzy sets.
74
-
6. occupancy_demo_temporal: an example of the use of temporal fuzzy sets.
0 commit comments