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.
- sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/test_NormalTester.py +9 -9
- sdg_core_lib-0.1.1.dist-info/METADATA +18 -0
- {sdg_core_lib-0.1.0.dist-info → sdg_core_lib-0.1.1.dist-info}/RECORD +5 -5
- sdg_core_lib-0.1.0.dist-info/METADATA +0 -9
- {sdg_core_lib-0.1.0.dist-info → sdg_core_lib-0.1.1.dist-info}/WHEEL +0 -0
- {sdg_core_lib-0.1.0.dist-info → sdg_core_lib-0.1.1.dist-info}/entry_points.txt +0 -0
sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/test_NormalTester.py
CHANGED
|
@@ -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,
|
|
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 == (
|
|
33
|
-
assert indexes.shape == (
|
|
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,
|
|
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,
|
|
45
|
-
wrong_data_2 = np.random.normal(0, 10,
|
|
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,
|
|
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 == (
|
|
54
|
-
assert results["indexes"].shape == (
|
|
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=
|
|
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.
|
|
75
|
-
sdg_core_lib-0.1.
|
|
76
|
-
sdg_core_lib-0.1.
|
|
77
|
-
sdg_core_lib-0.1.
|
|
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,,
|
|
File without changes
|
|
File without changes
|