update download.sh
This commit is contained in:
parent
fb48e8c255
commit
48c8182dbd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user