psyke 0.7.7__py3-none-any.whl → 0.7.8__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.

@@ -29,7 +29,7 @@ class HEx(GridEx):
29
29
  def _gain(self, parent_cube: GenericCube, new_cube: GenericCube) -> float:
30
30
  if isinstance(parent_cube, ClassificationCube):
31
31
  return parent_cube.output != new_cube.output
32
- return parent_cube.error - new_cube.error > self.threshold * .5
32
+ return abs(parent_cube.error - new_cube.error) > self.threshold * .5
33
33
 
34
34
  def _iterate(self, surrounding: HyperCube, dataframe: pd.DataFrame):
35
35
  fake = dataframe.copy()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: psyke
3
- Version: 0.7.7
3
+ Version: 0.7.8
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
@@ -16,7 +16,7 @@ psyke/extraction/hypercubic/creepy/__init__.py,sha256=QcYGm3OHzUxutuuQ159oUNwr-4
16
16
  psyke/extraction/hypercubic/divine/__init__.py,sha256=qWoOeTNwNRD8VHZQLqVuv8Jfr4X2sGaQOylm8fw0m9g,3619
17
17
  psyke/extraction/hypercubic/gridex/__init__.py,sha256=QWgfIDojpb38DC7Z49KyyPCHqb2-3GIkBWa2ApjMNl4,5688
18
18
  psyke/extraction/hypercubic/gridrex/__init__.py,sha256=h9usK5tFqd6ngBmRydsgkfQ1jlcQKj2uG72Tr1puFHk,595
19
- psyke/extraction/hypercubic/hex/__init__.py,sha256=fJr_6OSgE4R307S1RdZvj8Mw4z086MG7DrsJKSUjymk,2470
19
+ psyke/extraction/hypercubic/hex/__init__.py,sha256=Szoj0sPlsYkSxrKuR2TZuVRyouwQVmOh2qpkUd90MtE,2475
20
20
  psyke/extraction/hypercubic/iter/__init__.py,sha256=E_Z8KLTei71n_Hd4p7eXvR8tjRoLdVBWLh-ph7x0JSs,10141
21
21
  psyke/extraction/real/__init__.py,sha256=DN9z51QdldUh1g9rzh7H8bgvZJZ-qOKpTQvHKR8NkAI,6417
22
22
  psyke/extraction/real/utils.py,sha256=eHGU-Y0inn_8jrk9lMcuRUKXpsTkI-s_myXSWz4bALQ,2190
@@ -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.7.7.dist-info/LICENSE,sha256=KP9K6Hgezf_xdMFW7ORyKz9uA8Y8k52YJn292wcP-_E,11354
37
- psyke-0.7.7.dist-info/METADATA,sha256=Wye-zxNXNZ9xX8OadxmSgEo7gx-hx6_PoS3ovj8t4FE,8102
38
- psyke-0.7.7.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
39
- psyke-0.7.7.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
40
- psyke-0.7.7.dist-info/RECORD,,
36
+ psyke-0.7.8.dist-info/LICENSE,sha256=KP9K6Hgezf_xdMFW7ORyKz9uA8Y8k52YJn292wcP-_E,11354
37
+ psyke-0.7.8.dist-info/METADATA,sha256=mRp2CcHUchwUUAdYOO7gUA7yLGk2YlJcPDBL-IhOJVI,8102
38
+ psyke-0.7.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
39
+ psyke-0.7.8.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
40
+ psyke-0.7.8.dist-info/RECORD,,
File without changes
File without changes