From 48c8182dbd6b436dfdddd36dfccfab20dff4a56f Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Mon, 2 May 2022 14:06:53 +0200 Subject: [PATCH] update download.sh --- download.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/download.sh b/download.sh index 53e4724..5763430 100755 --- a/download.sh +++ b/download.sh @@ -5,14 +5,11 @@ dataset_operation() { len2=$(($len1/10)) len3=$(($len2*2)) len4=$(($len3+1)) - 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 - tail -n +$len4 all_games.csv.shuf > all_games.csv.train + head -n $len2 all_games.csv.shuf > all_games.test.csv + head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.dev.csv + tail -n +$len4 all_games.csv.shuf > all_games.train.csv cp all_games.csv /dane/all_games.csv wc -l all_games.csv.* - mv all_games.csv.dev > all_games_dev.csv - mv all_games.csv.train > all_games_train.csv - mv all_games.csv.test > all_games_test.csv } kaggle datasets download -d deepcontractor/top-video-games-19952021-metacritic