psyke 0.8.2.dev15__py3-none-any.whl → 0.8.2.dev18__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.

@@ -76,10 +76,10 @@ class HyperCubeExtractor(HyperCubePredictor, PedagogicalExtractor, ABC):
76
76
 
77
77
  point = Point(list(data.keys()), list(data.values()))
78
78
  cubes = self._hypercubes if cube is None else [c for c in self._hypercubes if cube.output != c.output]
79
- cubes = sorted([(cube.surface_distance(point), cube.volume(), cube) for cube in cubes])
79
+ cubes = sorted([(cube.surface_distance(point), cube.volume(), i, cube) for i, cube in enumerate(cubes)])
80
80
  outputs = []
81
81
  different_prediction_reasons = []
82
- for _, _, c in cubes:
82
+ for _, _, _, c in cubes:
83
83
  if c.output not in outputs:
84
84
  outputs.append(c.output)
85
85
  output += f"The output may be {c.output} if"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: psyke
3
- Version: 0.8.2.dev15
3
+ Version: 0.8.2.dev18
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
@@ -7,7 +7,7 @@ psyke/clustering/exact/__init__.py,sha256=GpMGOcN2bGn3wfaUKOdis3vnLEtAx9j886qsk-
7
7
  psyke/extraction/__init__.py,sha256=ziZ8T9eAOZjKipepE5_j1zfZgyFPONjW8MGERSk83nI,743
8
8
  psyke/extraction/cart/__init__.py,sha256=s8tr7jPhONgF0pfetHieFax2MD8cy6ddOS7dRWzZLjc,3579
9
9
  psyke/extraction/cart/predictor.py,sha256=2-2mv5fI0lTwwfTaEonxKh0ZUdhxuIEE6OP_rJxgmqc,3019
10
- psyke/extraction/hypercubic/__init__.py,sha256=2Y9C-bjwqFPlwRDv02sgZyyZv9-DGb8Sk4BHw9f_cVI,11842
10
+ psyke/extraction/hypercubic/__init__.py,sha256=OGYI5WYB66NSnWhlIsJ2busMZfkRJV4sDb4NGN4jbCY,11862
11
11
  psyke/extraction/hypercubic/hypercube.py,sha256=vYJoIEAsiIY5koh84hnSdd72PPc-7-RP_1Eo5vvjxk4,22754
12
12
  psyke/extraction/hypercubic/strategy.py,sha256=X-roIsfcpJyMdo2px5JtbhP7-XE-zUNkaEK7XGXoWA8,1636
13
13
  psyke/extraction/hypercubic/utils.py,sha256=D2FN5CCm_T3h23DmLFoTnIcFo7LvIq__ktl4hjUqkcA,1525
@@ -33,8 +33,8 @@ psyke/utils/logic.py,sha256=7bbW6qcKof5PlqoQ0n5Kt3Obcot-KqGAvpE8rMXvEPE,12419
33
33
  psyke/utils/metrics.py,sha256=Oo5BOonOSfo0qYsXWT5dmypZ7jiStByFC2MKEU0uMHg,2250
34
34
  psyke/utils/plot.py,sha256=dE8JJ6tQ0Ezosid-r2jqAisREjFe5LqExRzsVi5Ns-c,7785
35
35
  psyke/utils/sorted.py,sha256=C3CPW2JisND30BRk5c1sAAHs3Lb_wsRB2qZrYFuRnfM,678
36
- psyke-0.8.2.dev15.dist-info/LICENSE,sha256=KP9K6Hgezf_xdMFW7ORyKz9uA8Y8k52YJn292wcP-_E,11354
37
- psyke-0.8.2.dev15.dist-info/METADATA,sha256=y8no9N9QPkZkBZoFTrqyF6ubDuoUWsVGZGsDbWQOGVo,8108
38
- psyke-0.8.2.dev15.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
39
- psyke-0.8.2.dev15.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
40
- psyke-0.8.2.dev15.dist-info/RECORD,,
36
+ psyke-0.8.2.dev18.dist-info/LICENSE,sha256=KP9K6Hgezf_xdMFW7ORyKz9uA8Y8k52YJn292wcP-_E,11354
37
+ psyke-0.8.2.dev18.dist-info/METADATA,sha256=big4IaLRLrAbgt8BeJ_FGashE3mQvYQ-MvsUPavT6_k,8108
38
+ psyke-0.8.2.dev18.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
39
+ psyke-0.8.2.dev18.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
40
+ psyke-0.8.2.dev18.dist-info/RECORD,,