sdg-core-lib 0.1.0__py3-none-any.whl → 0.1.1__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.
@@ -27,29 +27,29 @@ def test_check_parameters(correct_instance):
27
27
 
28
28
 
29
29
  def test_compute(correct_instance):
30
- data = np.random.normal(correct_instance.mean, correct_instance.std, 10000)
30
+ data = np.random.normal(correct_instance.mean, correct_instance.std, 100000)
31
31
  compute_data, indexes = correct_instance._compute(data)
32
- assert data.shape == (10000,)
33
- assert indexes.shape == (10000,)
32
+ assert data.shape == (100000,)
33
+ assert indexes.shape == (100000,)
34
34
  assert np.all(compute_data == data)
35
35
  assert np.all(indexes == np.array(range(len(data))))
36
36
 
37
37
 
38
38
  def test_evaluate(correct_instance):
39
- correct_data = np.random.normal(correct_instance.mean, correct_instance.std, 10000)
39
+ correct_data = np.random.normal(correct_instance.mean, correct_instance.std, 100000)
40
40
  assert correct_instance._evaluate(correct_data)
41
41
 
42
42
 
43
43
  def test_evaluate_wrong(correct_instance):
44
- wrong_data = np.random.normal(5, 1, 10000)
45
- wrong_data_2 = np.random.normal(0, 10, 10000)
44
+ wrong_data = np.random.normal(5, 1, 100000)
45
+ wrong_data_2 = np.random.normal(0, 10, 100000)
46
46
  assert not correct_instance._evaluate(wrong_data)
47
47
  assert not correct_instance._evaluate(wrong_data_2)
48
48
 
49
49
 
50
50
  def test_get_result(correct_instance):
51
- data_correct = np.random.normal(correct_instance.mean, correct_instance.std, 10000)
51
+ data_correct = np.random.normal(correct_instance.mean, correct_instance.std, 100000)
52
52
  results = correct_instance.get_results(data_correct)
53
- assert results["results"].shape == (10000,)
54
- assert results["indexes"].shape == (10000,)
53
+ assert results["results"].shape == (100000,)
54
+ assert results["indexes"].shape == (100000,)
55
55
  assert results["evaluation_results"]
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.3
2
+ Name: sdg-core-lib
3
+ Version: 0.1.1
4
+ Summary: Add your description here
5
+ Author: emiliocimino
6
+ Author-email: emiliocimino <emilio.cimino@outlook.it>
7
+ Requires-Dist: numpy==2.0.2
8
+ Requires-Dist: pandas==2.2.3
9
+ Requires-Dist: seaborn==0.13.2
10
+ Requires-Dist: scikit-learn==1.5.2
11
+ Requires-Dist: keras==3.6.0
12
+ Requires-Dist: tensorflow==2.18.0
13
+ Requires-Dist: loguru
14
+ Requires-Dist: skops
15
+ Requires-Dist: statsmodels
16
+ Requires-Python: >=3.12
17
+ Description-Content-Type: text/markdown
18
+
@@ -60,7 +60,7 @@ sdg_core_lib/test/post_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
60
60
  sdg_core_lib/test/post_process/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
61
  sdg_core_lib/test/post_process/functions/distribution_evaluator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
- sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/test_NormalTester.py,sha256=us4BXaS-KdSVc5dvGTPJ70fwYYPmNWrv47EXPMloMlM,1996
63
+ sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/test_NormalTester.py,sha256=uaLzAcDwtAQSG6ZlcwNUVmhOP3JSR0vAgBwkiSGeL1k,2005
64
64
  sdg_core_lib/test/post_process/functions/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
65
  sdg_core_lib/test/post_process/functions/filters/implementation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
66
  sdg_core_lib/test/post_process/functions/filters/implementation/test_InnerThreshold.py,sha256=DsZJ1hxxeRh06KkMjUaLSjIlhvi_jMz0-gyP6OHGxSI,1213
@@ -71,7 +71,7 @@ sdg_core_lib/test/test_dataset.py,sha256=qs1XOml4aIKSi8gG2jyPS6CHEIlgKa9R4-ngOsn
71
71
  sdg_core_lib/test/test_job.py,sha256=QRIe_IGrEXKMigkH9kWQRx9oqdlb7_239pNZ2FUPN4k,3506
72
72
  sdg_core_lib/test/train_test.json,sha256=YppIa9SmcOAEA0gWDmJoEerll_mxDabaVyUuVaR2Gm4,2488
73
73
  sdg_core_lib/test/train_test_2.json,sha256=lWBn_iOK98lwGXi_8yVwA_gkX_ITBcsGXbzQm31QxHk,854904
74
- sdg_core_lib-0.1.0.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
75
- sdg_core_lib-0.1.0.dist-info/entry_points.txt,sha256=XEhYrcsIHlolqxIWFMxeJiIYoY5DlSq0J-2K-3IS6YE,52
76
- sdg_core_lib-0.1.0.dist-info/METADATA,sha256=GYsYmwSlFEvY1DgduZeCfXydQyE_0A3Bb37B9mIb6_0,231
77
- sdg_core_lib-0.1.0.dist-info/RECORD,,
74
+ sdg_core_lib-0.1.1.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
75
+ sdg_core_lib-0.1.1.dist-info/entry_points.txt,sha256=XEhYrcsIHlolqxIWFMxeJiIYoY5DlSq0J-2K-3IS6YE,52
76
+ sdg_core_lib-0.1.1.dist-info/METADATA,sha256=rLsE_oD55hKH0QEJk-N5x-uihzdJGxY4DlYcJcdsP2k,486
77
+ sdg_core_lib-0.1.1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: sdg-core-lib
3
- Version: 0.1.0
4
- Summary: Add your description here
5
- Author: emiliocimino
6
- Author-email: emiliocimino <emilio.cimino@outlook.it>
7
- Requires-Python: >=3.12
8
- Description-Content-Type: text/markdown
9
-