sdg-core-lib 0.1.0__tar.gz → 0.1.1__tar.gz
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 sdg-core-lib might be problematic. Click here for more details.
- sdg_core_lib-0.1.1/PKG-INFO +18 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/pyproject.toml +13 -1
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/test_NormalTester.py +9 -9
- sdg_core_lib-0.1.0/PKG-INFO +0 -9
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/README.md +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/NumericDataset.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/browser.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/model_factory.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/ModelInfo.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/TrainingInfo.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/UnspecializedModel.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/KerasBaseVAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/VAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/implementation/TabularVAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/implementation/TimeSeriesVAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/implementation/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/evaluate/Metrics.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/evaluate/TabularComparison.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/evaluate/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/job.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/FunctionApplier.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/function_factory.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/FunctionInfo.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/FunctionResult.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/Parameter.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/UnspecializedFunction.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/distribution_evaluator/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/distribution_evaluator/implementation/NormalTester.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/distribution_evaluator/implementation/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/IntervalThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/MonoThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/implementation/InnerThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/implementation/LowerThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/implementation/OuterThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/implementation/UpperThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/implementation/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/preprocess/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/preprocess/scale.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/keras/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/keras/implementation/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/keras/implementation/test_TabularVAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/keras/implementation/test_TimeSeriesVAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/keras/test_KerasBaseVAE.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/test_ModelInfo.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/test_TrainingInfo.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/test_UnspecializedModel.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/test_model_factory.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/evaluate/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/evaluate/test_Metrics.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/evaluate/test_TabularComparisonEvaluator.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/infer_test.json +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/infer_test_nodata.json +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/infer_test_nodata_wrong.json +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/distribution_evaluator/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/distribution_evaluator/implementation/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/filters/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/filters/implementation/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/filters/implementation/test_InnerThreshold.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/pre_process/__init__.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/pre_process/test_scaling.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/test_browser.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/test_dataset.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/test_job.py +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/train_test.json +0 -0
- {sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/train_test_2.json +0 -0
|
@@ -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
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sdg-core-lib"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.1"
|
|
4
4
|
description = "Add your description here"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -9,6 +9,18 @@ authors = [
|
|
|
9
9
|
|
|
10
10
|
requires-python = ">=3.12"
|
|
11
11
|
|
|
12
|
+
dependencies = [
|
|
13
|
+
"numpy==2.0.2",
|
|
14
|
+
"pandas==2.2.3",
|
|
15
|
+
"seaborn==0.13.2",
|
|
16
|
+
"scikit-learn==1.5.2",
|
|
17
|
+
"keras==3.6.0",
|
|
18
|
+
"tensorflow==2.18.0",
|
|
19
|
+
"loguru",
|
|
20
|
+
"skops",
|
|
21
|
+
"statsmodels"
|
|
22
|
+
]
|
|
23
|
+
|
|
12
24
|
[dependency-groups]
|
|
13
25
|
dev = [
|
|
14
26
|
"numpy==2.0.2",
|
|
@@ -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"]
|
sdg_core_lib-0.1.0/PKG-INFO
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/ModelInfo.py
RENAMED
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/TrainingInfo.py
RENAMED
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/VAE.py
RENAMED
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/data_generator/models/keras/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/FunctionInfo.py
RENAMED
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/FunctionResult.py
RENAMED
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/Parameter.py
RENAMED
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/post_process/functions/filter/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/data_generator/test_model_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/infer_test_nodata_wrong.json
RENAMED
|
File without changes
|
|
File without changes
|
{sdg_core_lib-0.1.0 → sdg_core_lib-0.1.1}/src/sdg_core_lib/test/post_process/functions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|