Add normalization/no normalization results

This commit is contained in:
2021-04-12 16:46:45 +02:00
parent 6fedf7a604
commit c8bf92954b
15 changed files with 584327 additions and 219 deletions

18
checkdatasets.py Executable file
View 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} ")