ium_444356/download.sh

12 lines
456 B
Bash
Raw Normal View History

2022-03-25 20:40:44 +01:00
dataset_operation() {
2022-03-25 21:20:04 +01:00
cat all_games.csv | shuf > all_games.csv.shuf
2022-03-25 20:40:44 +01:00
head -n 1880 all_games.csv.shuf > all_games.csv.test
head -n 3760 all_games.csv.shuf | tail -n 1880 > all_games.csv.dev
tail -n +3761 all_games.csv.shuf > all_games.csv.train
rm all_games.csv.shuf
wc -l all_games.csv.*
}
kaggle datasets download -d deepcontractor/top-video-games-19952021-metacritic
unzip top-video-games-19952021-metacritic.zip
dataset_operation