This commit is contained in:
Maciej Czajka 2022-04-02 14:15:23 +02:00
parent ce8b6857c3
commit b72fb2f43f
2 changed files with 1 additions and 2 deletions

View File

@ -152,7 +152,7 @@ def dataset_information(games):
# os.system("unzip top-video-games-19952021-metacritic.zip") # os.system("unzip top-video-games-19952021-metacritic.zip")
# wczytanie danych # wczytanie danych
games=pd.read_csv('all_games.csv') games=pd.read_csv('all_games.csv.shuf')
# usunięcie 5 wyników "Stadia" # usunięcie 5 wyników "Stadia"
delete_stadia(games) delete_stadia(games)

View File

@ -8,7 +8,6 @@ dataset_operation() {
head -n $len2 all_games.csv.shuf > all_games.csv.test head -n $len2 all_games.csv.shuf > all_games.csv.test
head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.csv.dev head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.csv.dev
tail -n +$len4 all_games.csv.shuf > all_games.csv.train tail -n +$len4 all_games.csv.shuf > all_games.csv.train
rm all_games.csv.shuf
wc -l all_games.csv.* wc -l all_games.csv.*
} }