update
This commit is contained in:
parent
ce8b6857c3
commit
b72fb2f43f
@ -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)
|
||||||
|
@ -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.*
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user