psyke 1.0.4__py3-none-any.whl → 1.0.4.dev2__py3-none-any.whl

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.

Potentially problematic release.


This version of psyke might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: psyke
3
- Version: 1.0.4
3
+ Version: 1.0.4.dev2
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,7 +47,7 @@ Dynamic: summary
47
47
 
48
48
  ![PSyKE Logo](.img/logo-wide.png)
49
49
 
50
- Some quick links:
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/)
@@ -56,7 +56,7 @@ Some quick links:
56
56
  ## Intro
57
57
 
58
58
  [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 rules) out of sub-symbolic predictors.
59
+ is intended as a library for extracting symbolic knowledge (in the form of logic rule lists) out of sub-symbolic predictors.
60
60
 
61
61
  More precisely, PSyKE offers a general purpose API for knowledge extraction, and a number of different algorithms implementing it,
62
62
  supporting both classification and regression problems.
@@ -105,16 +105,14 @@ We are working on PSyKE to extend its features to encompass explainable clusteri
105
105
 
106
106
  ### End users
107
107
 
108
- PSyKE is deployed as a library on Pypi, and it can therefore be installed as Python package by running:
108
+ PSyKE is deployed as a library on Pypi. It can be installed as Python package by running:
109
109
  ```bash
110
110
  pip install psyke
111
111
  ```
112
112
 
113
113
  #### Requirements
114
- * `numpy`
115
- * `pandas`
116
- * `scikit-learn`
117
- * `2ppy`
114
+
115
+ Please refer to the [requirements file](https://github.com/psykei/psyke-python/blob/master/requirements.txt)
118
116
 
119
117
  ##### Test requirements
120
118
  * `skl2onnx`
@@ -122,15 +120,15 @@ pip install psyke
122
120
  * `parameterized`
123
121
 
124
122
  Once installed, it is possible to create an extractor from a predictor
125
- (e.g. Neural Network, Support Vector Machine, K-Nearest Neighbor, Random Forest, etc.)
126
- and from the dataset used to train the predictor.
123
+ (e.g. Neural Network, Support Vector Machine, K-Nearest Neighbours, Random Forest, etc.)
124
+ and from the data set used to train the predictor.
127
125
 
128
126
  > **Note:** the predictor must expose a method named `predict` to be properly used as an oracle.
129
127
 
130
128
  #### End users
131
129
 
132
130
  A brief example is presented in `demo.py` script in the `demo/` folder.
133
- Using `sklearn`'s Iris dataset we train a K-Nearest Neighbor to predict the correct output class.
131
+ Using `sklearn`'s Iris data set we train a K-Nearest Neighbours to predict the correct output class.
134
132
  Before training, we make the dataset discrete.
135
133
  After that we create two different extractors: REAL and Trepan.
136
134
  We output the extracted theory for both extractors.
@@ -157,7 +155,7 @@ iris(PetalLength8, PetalWidth8, SepalLength8, SepalWidth8, setosa) :- true.
157
155
 
158
156
  Working with PSyKE codebase requires a number of tools to be installed:
159
157
  * Python 3.11
160
- + Python version greater than `3.11.x` are currently __not__ supported
158
+ + Python version >= `3.12.x` are currently __not__ supported
161
159
 
162
160
  * JDK 11+ (please ensure the `JAVA_HOME` environment variable is properly configured)
163
161
  * Git 2.20+
@@ -39,8 +39,8 @@ psyke/utils/logic.py,sha256=ioP25WMTYNYEzaRDNDe3kGNWqZ6DA_63t19d-ky_2kM,12227
39
39
  psyke/utils/metrics.py,sha256=Oo5BOonOSfo0qYsXWT5dmypZ7jiStByFC2MKEU0uMHg,2250
40
40
  psyke/utils/plot.py,sha256=dE8JJ6tQ0Ezosid-r2jqAisREjFe5LqExRzsVi5Ns-c,7785
41
41
  psyke/utils/sorted.py,sha256=C3CPW2JisND30BRk5c1sAAHs3Lb_wsRB2qZrYFuRnfM,678
42
- psyke-1.0.4.dist-info/licenses/LICENSE,sha256=G3mPaubObvkBXbsgTTeYGLk_pNEW8tc7HZr4u_wLEpU,11398
43
- psyke-1.0.4.dist-info/METADATA,sha256=3BOsxzVrtzU_1nO2jM2Qa_rvOTHQd0YyJGxUZcu3ATQ,8383
44
- psyke-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
45
- psyke-1.0.4.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
46
- psyke-1.0.4.dist-info/RECORD,,
42
+ psyke-1.0.4.dev2.dist-info/licenses/LICENSE,sha256=G3mPaubObvkBXbsgTTeYGLk_pNEW8tc7HZr4u_wLEpU,11398
43
+ psyke-1.0.4.dev2.dist-info/METADATA,sha256=FsveatQiAOgV2Ox9yVtOuEN7-w5YGjFNaxDWCK2cft0,8433
44
+ psyke-1.0.4.dev2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
45
+ psyke-1.0.4.dev2.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
46
+ psyke-1.0.4.dev2.dist-info/RECORD,,