psyke 1.0.4.dev1__tar.gz → 1.0.4.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {psyke-1.0.4.dev1/psyke.egg-info → psyke-1.0.4.dev3}/PKG-INFO +18 -12
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/README.md +17 -11
- psyke-1.0.4.dev3/VERSION +1 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3/psyke.egg-info}/PKG-INFO +18 -12
- psyke-1.0.4.dev1/VERSION +0 -1
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/LICENSE +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/MANIFEST.in +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/clustering/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/clustering/cream/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/clustering/exact/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/clustering/utils.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/cart/CartPredictor.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/cart/FairTree.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/cart/FairTreePredictor.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/cart/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/cosmik/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/creepy/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/divine/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/ginger/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/gridex/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/gridrex/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/hex/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/hypercube.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/iter/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/strategy.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/hypercubic/utils.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/real/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/real/utils.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/trepan/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/extraction/trepan/utils.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/genetic/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/genetic/fgin/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/genetic/gin/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/hypercubepredictor.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/schema/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/tuning/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/tuning/crash/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/tuning/orchid/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/tuning/pedro/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/utils/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/utils/dataframe.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/utils/logic.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/utils/metrics.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/utils/plot.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke/utils/sorted.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke.egg-info/SOURCES.txt +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke.egg-info/dependency_links.txt +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke.egg-info/not-zip-safe +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke.egg-info/requires.txt +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/psyke.egg-info/top_level.txt +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/pyproject.toml +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/setup.cfg +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/setup.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/resources/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/resources/datasets/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/resources/predictors/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/resources/tests/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/clustering/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/cart/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/cart/test_cart.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/cart/test_simplified_cart.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/hypercubic/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/hypercubic/gridex/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/hypercubic/gridex/test_gridex.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/hypercubic/iter/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/hypercubic/iter/test_iter.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/hypercubic/test_hypercube.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/real/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/real/test_real.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/real/test_rule.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/trepan/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/trepan/test_node.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/trepan/test_split.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/extraction/trepan/test_trepan.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/utils/__init__.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/utils/test_prune.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/utils/test_simplify.py +0 -0
- {psyke-1.0.4.dev1 → psyke-1.0.4.dev3}/test/unit/utils/test_simplify_formatter.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: psyke
|
|
3
|
-
Version: 1.0.4.
|
|
3
|
+
Version: 1.0.4.dev3
|
|
4
4
|
Summary: Python-based implementation of PSyKE, i.e. a Platform for Symbolic Knowledge Extraction
|
|
5
5
|
Home-page: https://github.com/psykei/psyke-python
|
|
6
6
|
Author: Matteo Magnini
|
|
@@ -47,16 +47,24 @@ Dynamic: summary
|
|
|
47
47
|
|
|
48
48
|

|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
Quick links:
|
|
51
51
|
* [Home Page](https://apice.unibo.it/xwiki/bin/view/PSyKE/)
|
|
52
52
|
* [GitHub Repository](https://github.com/psykei/psyke-python)
|
|
53
53
|
* [PyPi Repository](https://pypi.org/project/psyke/)
|
|
54
54
|
* [Issues](https://github.com/psykei/psyke-python/issues)
|
|
55
55
|
|
|
56
|
+
## Latest Releases
|
|
57
|
+
|
|
58
|
+
* PSyKE 1.0: Compatibility with Python 3.11.x
|
|
59
|
+
* PSyKE 0.10: New genetic algorithms for knowledge extraction
|
|
60
|
+
* PSyKE 0.9: Fairness mitigation support for knowedge extractors
|
|
61
|
+
* PSyKE 0.8: New features: local explainability and counterfactual support
|
|
62
|
+
* PSyKE 0.7: New SKE algorithms implemented
|
|
63
|
+
|
|
56
64
|
## Intro
|
|
57
65
|
|
|
58
66
|
[PSyKE](https://apice.unibo.it/xwiki/bin/view/PSyKE/) (Platform for Symbolic Knowledge Extraction)
|
|
59
|
-
is intended as a library for extracting symbolic knowledge (in the form of logic
|
|
67
|
+
is intended as a library for extracting symbolic knowledge (in the form of logic rule lists) out of sub-symbolic predictors.
|
|
60
68
|
|
|
61
69
|
More precisely, PSyKE offers a general purpose API for knowledge extraction, and a number of different algorithms implementing it,
|
|
62
70
|
supporting both classification and regression problems.
|
|
@@ -105,16 +113,14 @@ We are working on PSyKE to extend its features to encompass explainable clusteri
|
|
|
105
113
|
|
|
106
114
|
### End users
|
|
107
115
|
|
|
108
|
-
PSyKE is deployed as a library on Pypi
|
|
116
|
+
PSyKE is deployed as a library on Pypi. It can be installed as Python package by running:
|
|
109
117
|
```bash
|
|
110
118
|
pip install psyke
|
|
111
119
|
```
|
|
112
120
|
|
|
113
121
|
#### Requirements
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* `scikit-learn`
|
|
117
|
-
* `2ppy`
|
|
122
|
+
|
|
123
|
+
Please refer to the [requirements file](https://github.com/psykei/psyke-python/blob/master/requirements.txt)
|
|
118
124
|
|
|
119
125
|
##### Test requirements
|
|
120
126
|
* `skl2onnx`
|
|
@@ -122,15 +128,15 @@ pip install psyke
|
|
|
122
128
|
* `parameterized`
|
|
123
129
|
|
|
124
130
|
Once installed, it is possible to create an extractor from a predictor
|
|
125
|
-
(e.g. Neural Network, Support Vector Machine, K-Nearest
|
|
126
|
-
and from the
|
|
131
|
+
(e.g. Neural Network, Support Vector Machine, K-Nearest Neighbours, Random Forest, etc.)
|
|
132
|
+
and from the data set used to train the predictor.
|
|
127
133
|
|
|
128
134
|
> **Note:** the predictor must expose a method named `predict` to be properly used as an oracle.
|
|
129
135
|
|
|
130
136
|
#### End users
|
|
131
137
|
|
|
132
138
|
A brief example is presented in `demo.py` script in the `demo/` folder.
|
|
133
|
-
Using `sklearn`'s Iris
|
|
139
|
+
Using `sklearn`'s Iris data set we train a K-Nearest Neighbours to predict the correct output class.
|
|
134
140
|
Before training, we make the dataset discrete.
|
|
135
141
|
After that we create two different extractors: REAL and Trepan.
|
|
136
142
|
We output the extracted theory for both extractors.
|
|
@@ -157,7 +163,7 @@ iris(PetalLength8, PetalWidth8, SepalLength8, SepalWidth8, setosa) :- true.
|
|
|
157
163
|
|
|
158
164
|
Working with PSyKE codebase requires a number of tools to be installed:
|
|
159
165
|
* Python 3.11
|
|
160
|
-
+ Python version
|
|
166
|
+
+ Python version >= `3.12.x` are currently __not__ supported
|
|
161
167
|
|
|
162
168
|
* JDK 11+ (please ensure the `JAVA_HOME` environment variable is properly configured)
|
|
163
169
|
* Git 2.20+
|
|
@@ -2,16 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Quick links:
|
|
6
6
|
* [Home Page](https://apice.unibo.it/xwiki/bin/view/PSyKE/)
|
|
7
7
|
* [GitHub Repository](https://github.com/psykei/psyke-python)
|
|
8
8
|
* [PyPi Repository](https://pypi.org/project/psyke/)
|
|
9
9
|
* [Issues](https://github.com/psykei/psyke-python/issues)
|
|
10
10
|
|
|
11
|
+
## Latest Releases
|
|
12
|
+
|
|
13
|
+
* PSyKE 1.0: Compatibility with Python 3.11.x
|
|
14
|
+
* PSyKE 0.10: New genetic algorithms for knowledge extraction
|
|
15
|
+
* PSyKE 0.9: Fairness mitigation support for knowedge extractors
|
|
16
|
+
* PSyKE 0.8: New features: local explainability and counterfactual support
|
|
17
|
+
* PSyKE 0.7: New SKE algorithms implemented
|
|
18
|
+
|
|
11
19
|
## Intro
|
|
12
20
|
|
|
13
21
|
[PSyKE](https://apice.unibo.it/xwiki/bin/view/PSyKE/) (Platform for Symbolic Knowledge Extraction)
|
|
14
|
-
is intended as a library for extracting symbolic knowledge (in the form of logic
|
|
22
|
+
is intended as a library for extracting symbolic knowledge (in the form of logic rule lists) out of sub-symbolic predictors.
|
|
15
23
|
|
|
16
24
|
More precisely, PSyKE offers a general purpose API for knowledge extraction, and a number of different algorithms implementing it,
|
|
17
25
|
supporting both classification and regression problems.
|
|
@@ -60,16 +68,14 @@ We are working on PSyKE to extend its features to encompass explainable clusteri
|
|
|
60
68
|
|
|
61
69
|
### End users
|
|
62
70
|
|
|
63
|
-
PSyKE is deployed as a library on Pypi
|
|
71
|
+
PSyKE is deployed as a library on Pypi. It can be installed as Python package by running:
|
|
64
72
|
```bash
|
|
65
73
|
pip install psyke
|
|
66
74
|
```
|
|
67
75
|
|
|
68
76
|
#### Requirements
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
* `scikit-learn`
|
|
72
|
-
* `2ppy`
|
|
77
|
+
|
|
78
|
+
Please refer to the [requirements file](https://github.com/psykei/psyke-python/blob/master/requirements.txt)
|
|
73
79
|
|
|
74
80
|
##### Test requirements
|
|
75
81
|
* `skl2onnx`
|
|
@@ -77,15 +83,15 @@ pip install psyke
|
|
|
77
83
|
* `parameterized`
|
|
78
84
|
|
|
79
85
|
Once installed, it is possible to create an extractor from a predictor
|
|
80
|
-
(e.g. Neural Network, Support Vector Machine, K-Nearest
|
|
81
|
-
and from the
|
|
86
|
+
(e.g. Neural Network, Support Vector Machine, K-Nearest Neighbours, Random Forest, etc.)
|
|
87
|
+
and from the data set used to train the predictor.
|
|
82
88
|
|
|
83
89
|
> **Note:** the predictor must expose a method named `predict` to be properly used as an oracle.
|
|
84
90
|
|
|
85
91
|
#### End users
|
|
86
92
|
|
|
87
93
|
A brief example is presented in `demo.py` script in the `demo/` folder.
|
|
88
|
-
Using `sklearn`'s Iris
|
|
94
|
+
Using `sklearn`'s Iris data set we train a K-Nearest Neighbours to predict the correct output class.
|
|
89
95
|
Before training, we make the dataset discrete.
|
|
90
96
|
After that we create two different extractors: REAL and Trepan.
|
|
91
97
|
We output the extracted theory for both extractors.
|
|
@@ -112,7 +118,7 @@ iris(PetalLength8, PetalWidth8, SepalLength8, SepalWidth8, setosa) :- true.
|
|
|
112
118
|
|
|
113
119
|
Working with PSyKE codebase requires a number of tools to be installed:
|
|
114
120
|
* Python 3.11
|
|
115
|
-
+ Python version
|
|
121
|
+
+ Python version >= `3.12.x` are currently __not__ supported
|
|
116
122
|
|
|
117
123
|
* JDK 11+ (please ensure the `JAVA_HOME` environment variable is properly configured)
|
|
118
124
|
* Git 2.20+
|
psyke-1.0.4.dev3/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.4.dev3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: psyke
|
|
3
|
-
Version: 1.0.4.
|
|
3
|
+
Version: 1.0.4.dev3
|
|
4
4
|
Summary: Python-based implementation of PSyKE, i.e. a Platform for Symbolic Knowledge Extraction
|
|
5
5
|
Home-page: https://github.com/psykei/psyke-python
|
|
6
6
|
Author: Matteo Magnini
|
|
@@ -47,16 +47,24 @@ Dynamic: summary
|
|
|
47
47
|
|
|
48
48
|

|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
Quick links:
|
|
51
51
|
* [Home Page](https://apice.unibo.it/xwiki/bin/view/PSyKE/)
|
|
52
52
|
* [GitHub Repository](https://github.com/psykei/psyke-python)
|
|
53
53
|
* [PyPi Repository](https://pypi.org/project/psyke/)
|
|
54
54
|
* [Issues](https://github.com/psykei/psyke-python/issues)
|
|
55
55
|
|
|
56
|
+
## Latest Releases
|
|
57
|
+
|
|
58
|
+
* PSyKE 1.0: Compatibility with Python 3.11.x
|
|
59
|
+
* PSyKE 0.10: New genetic algorithms for knowledge extraction
|
|
60
|
+
* PSyKE 0.9: Fairness mitigation support for knowedge extractors
|
|
61
|
+
* PSyKE 0.8: New features: local explainability and counterfactual support
|
|
62
|
+
* PSyKE 0.7: New SKE algorithms implemented
|
|
63
|
+
|
|
56
64
|
## Intro
|
|
57
65
|
|
|
58
66
|
[PSyKE](https://apice.unibo.it/xwiki/bin/view/PSyKE/) (Platform for Symbolic Knowledge Extraction)
|
|
59
|
-
is intended as a library for extracting symbolic knowledge (in the form of logic
|
|
67
|
+
is intended as a library for extracting symbolic knowledge (in the form of logic rule lists) out of sub-symbolic predictors.
|
|
60
68
|
|
|
61
69
|
More precisely, PSyKE offers a general purpose API for knowledge extraction, and a number of different algorithms implementing it,
|
|
62
70
|
supporting both classification and regression problems.
|
|
@@ -105,16 +113,14 @@ We are working on PSyKE to extend its features to encompass explainable clusteri
|
|
|
105
113
|
|
|
106
114
|
### End users
|
|
107
115
|
|
|
108
|
-
PSyKE is deployed as a library on Pypi
|
|
116
|
+
PSyKE is deployed as a library on Pypi. It can be installed as Python package by running:
|
|
109
117
|
```bash
|
|
110
118
|
pip install psyke
|
|
111
119
|
```
|
|
112
120
|
|
|
113
121
|
#### Requirements
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* `scikit-learn`
|
|
117
|
-
* `2ppy`
|
|
122
|
+
|
|
123
|
+
Please refer to the [requirements file](https://github.com/psykei/psyke-python/blob/master/requirements.txt)
|
|
118
124
|
|
|
119
125
|
##### Test requirements
|
|
120
126
|
* `skl2onnx`
|
|
@@ -122,15 +128,15 @@ pip install psyke
|
|
|
122
128
|
* `parameterized`
|
|
123
129
|
|
|
124
130
|
Once installed, it is possible to create an extractor from a predictor
|
|
125
|
-
(e.g. Neural Network, Support Vector Machine, K-Nearest
|
|
126
|
-
and from the
|
|
131
|
+
(e.g. Neural Network, Support Vector Machine, K-Nearest Neighbours, Random Forest, etc.)
|
|
132
|
+
and from the data set used to train the predictor.
|
|
127
133
|
|
|
128
134
|
> **Note:** the predictor must expose a method named `predict` to be properly used as an oracle.
|
|
129
135
|
|
|
130
136
|
#### End users
|
|
131
137
|
|
|
132
138
|
A brief example is presented in `demo.py` script in the `demo/` folder.
|
|
133
|
-
Using `sklearn`'s Iris
|
|
139
|
+
Using `sklearn`'s Iris data set we train a K-Nearest Neighbours to predict the correct output class.
|
|
134
140
|
Before training, we make the dataset discrete.
|
|
135
141
|
After that we create two different extractors: REAL and Trepan.
|
|
136
142
|
We output the extracted theory for both extractors.
|
|
@@ -157,7 +163,7 @@ iris(PetalLength8, PetalWidth8, SepalLength8, SepalWidth8, setosa) :- true.
|
|
|
157
163
|
|
|
158
164
|
Working with PSyKE codebase requires a number of tools to be installed:
|
|
159
165
|
* Python 3.11
|
|
160
|
-
+ Python version
|
|
166
|
+
+ Python version >= `3.12.x` are currently __not__ supported
|
|
161
167
|
|
|
162
168
|
* JDK 11+ (please ensure the `JAVA_HOME` environment variable is properly configured)
|
|
163
169
|
* Git 2.20+
|
psyke-1.0.4.dev1/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.4.dev1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|