fixtype-o

This commit is contained in:
s430705 2021-03-21 22:28:55 +01:00
parent e7f73104e6
commit 132f595d3c
4 changed files with 5046 additions and 5046 deletions

2018
dev.csv

File diff suppressed because one or more lines are too long

View File

@ -38,8 +38,8 @@ movies_data["votes_number"] = (movies_data["votes_number"].str.replace(",", ""))
# Normalize number values
scaler = preprocessing.MinMaxScaler()
movies_data[["rating", "votes_number", "year"]] = scaler.fit_transform(
movies_data[["rating", "votes_number", "year"]]
movies_data[["rating", "votes_number", "year", "runtime"]] = scaler.fit_transform(
movies_data[["rating", "votes_number", "year", "runtime"]]
)
# Split set to train/dev/test 6:2:2 ratio and save to .csv file
@ -61,7 +61,7 @@ for column in ["year", "rating", "runtime", "votes_number"]:
column_data = movies_data[column]
print(f"Information on {column}")
print(f"Min: {column_data.min()}")
print(f"Mak: {column_data.max()}")
print(f"Max: {column_data.max()}")
print(f"Mean: {column_data.mean()}")
print(f"Median: {column_data.median()}")
print(f"Standard deviation: {column_data.std()}, \n")

2018
test.csv

File diff suppressed because one or more lines are too long

6050
train.csv

File diff suppressed because one or more lines are too long