mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-15 15:36:01 +00:00
Remove normalization
As every dataset is already standardized
This commit is contained in:
11
gen_csv.py
Normal file
11
gen_csv.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import pandas as pd
|
||||
from experimentation.Sets import Datasets
|
||||
|
||||
dt = Datasets(normalize=False, standardize=False, set_of_files="tanveer")
|
||||
for data in dt:
|
||||
name = data[0]
|
||||
X, y = dt.load(name)
|
||||
z = pd.DataFrame(X)
|
||||
z[X.shape[1]] = y
|
||||
print(name, z.shape)
|
||||
z.to_csv(f"test/{name}.csv", header=False, index=False)
|
Reference in New Issue
Block a user