mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-16 07:56:07 +00:00
Add normalization/no normalization results
This commit is contained in:
18
checkdatasets.py
Executable file
18
checkdatasets.py
Executable file
@@ -0,0 +1,18 @@
|
||||
from experimentation.Sets import Datasets
|
||||
|
||||
dt = Datasets(normalize=False, standardize=False, set_of_files="tanveer")
|
||||
print("Checking normalized datasets: ")
|
||||
for data in dt:
|
||||
name = data[0]
|
||||
X, y = dt.load(name)
|
||||
min_value = X.min()
|
||||
max_value = X.max()
|
||||
resultado = (
|
||||
"Normalizado"
|
||||
if min_value <= 1
|
||||
and min_value >= 0
|
||||
and max_value <= 1
|
||||
and max_value >= 0
|
||||
else "No Normalizado"
|
||||
)
|
||||
print(f"{name:30s}: {resultado} ")
|
Reference in New Issue
Block a user