psyke 0.8.2.dev12__py3-none-any.whl → 0.8.2.dev16__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.

@@ -38,7 +38,7 @@ class GridEx(HyperCubeExtractor):
38
38
  n_bins = self.grid.get(feature, iteration)
39
39
  if n_bins == 1:
40
40
  ranges[feature] = [(a, b)]
41
- self._dimensions_to_ignore.append(feature)
41
+ self._dimensions_to_ignore.add(feature)
42
42
  else:
43
43
  size = (b - a) / n_bins
44
44
  ranges[feature] = [(a + size * i, a + size * (i + 1)) for i in range(n_bins)]
@@ -14,7 +14,7 @@ class HyperCubePredictor(EvaluableModel):
14
14
  def __init__(self, output=Target.CONSTANT, discretization=None, normalization=None):
15
15
  super().__init__(discretization, normalization)
16
16
  self._hypercubes = []
17
- self._dimensions_to_ignore = []
17
+ self._dimensions_to_ignore = set()
18
18
  self._output = output
19
19
  self._surrounding = None
20
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: psyke
3
- Version: 0.8.2.dev12
3
+ Version: 0.8.2.dev16
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
@@ -1,5 +1,5 @@
1
1
  psyke/__init__.py,sha256=weEnLws23jzCu_wqZVfq-jVlikiGle14coSMrjUnt7w,18155
2
- psyke/hypercubepredictor.py,sha256=YuTvleaotC3wWK33qhwdYNmA1MTz3kUXSnqnTI_jj8s,4588
2
+ psyke/hypercubepredictor.py,sha256=sc0_bel93LOCfTXsoQ9UJGRneQGBtldOl2JurCl9rr0,4591
3
3
  psyke/clustering/__init__.py,sha256=36MokTVwwWR_-o0mesvXHaYEYVTK2pn2m0ZY4G3Y3qU,581
4
4
  psyke/clustering/utils.py,sha256=S0YwCKyHVYp9qUAQVzCMrTwcQFPJ5TD14Jwn10DE-Z4,1616
5
5
  psyke/clustering/cream/__init__.py,sha256=W6k7vdjuUdA_azYA4vb5JtpWrofhDJ0DbM2jsnRKzfw,2994
@@ -14,7 +14,7 @@ psyke/extraction/hypercubic/utils.py,sha256=D2FN5CCm_T3h23DmLFoTnIcFo7LvIq__ktl4
14
14
  psyke/extraction/hypercubic/cosmik/__init__.py,sha256=XQUvOtMFpR0vMHYtwIVl3G626HMqN8Clt6BqNm4nvFs,1880
15
15
  psyke/extraction/hypercubic/creepy/__init__.py,sha256=ssNMKgkY9MRbcDgvxL9kt13-k_pMwi_SVR1dt8KWy2o,1681
16
16
  psyke/extraction/hypercubic/divine/__init__.py,sha256=RLvRZkCT1lKdh1mrxEuVWEaKa43zNtWkw9as7nEGFHE,3562
17
- psyke/extraction/hypercubic/gridex/__init__.py,sha256=cVW0o7wkq4d78w_Dn7HAKwon8snNFnTqWcRh-37UYNg,5679
17
+ psyke/extraction/hypercubic/gridex/__init__.py,sha256=YPNH1dLUatfdgzxUKocpF0InmZhLaMMh8I4Ua59mL48,5676
18
18
  psyke/extraction/hypercubic/gridrex/__init__.py,sha256=h9usK5tFqd6ngBmRydsgkfQ1jlcQKj2uG72Tr1puFHk,595
19
19
  psyke/extraction/hypercubic/hex/__init__.py,sha256=vP0n30iKi0eVi_6Jqorw8MendBwm7zOQQEvj8bFkfas,4562
20
20
  psyke/extraction/hypercubic/iter/__init__.py,sha256=vpbOLYYqXvKheyOoa1qmVz2wi4F7B4lJ2I6MRHJ7Xg0,10084
@@ -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.dev12.dist-info/LICENSE,sha256=KP9K6Hgezf_xdMFW7ORyKz9uA8Y8k52YJn292wcP-_E,11354
37
- psyke-0.8.2.dev12.dist-info/METADATA,sha256=kLYg_5PyZAEfsxMgoiPuvxkCogsbSRGACfeBHl_O9_I,8108
38
- psyke-0.8.2.dev12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
39
- psyke-0.8.2.dev12.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
40
- psyke-0.8.2.dev12.dist-info/RECORD,,
36
+ psyke-0.8.2.dev16.dist-info/LICENSE,sha256=KP9K6Hgezf_xdMFW7ORyKz9uA8Y8k52YJn292wcP-_E,11354
37
+ psyke-0.8.2.dev16.dist-info/METADATA,sha256=qHmmwe7P9b8wYWh7aRSEDenxAQzLVUyrHctHf96UMnw,8108
38
+ psyke-0.8.2.dev16.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
39
+ psyke-0.8.2.dev16.dist-info/top_level.txt,sha256=q1HglxOqqoIRukFtyis_ZNHczZg4gANRUPWkD7HAUTU,6
40
+ psyke-0.8.2.dev16.dist-info/RECORD,,