update
This commit is contained in:
parent
b72fb2f43f
commit
d2765a4402
@ -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.shuf')
|
games=pd.read_csv('all_games1.csv')
|
||||||
|
|
||||||
# usunięcie 5 wyników "Stadia"
|
# usunięcie 5 wyników "Stadia"
|
||||||
delete_stadia(games)
|
delete_stadia(games)
|
||||||
|
@ -8,6 +8,7 @@ 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
|
||||||
|
cp all_games.csv.shuf /app/all_games1.csv
|
||||||
wc -l all_games.csv.*
|
wc -l all_games.csv.*
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user