Usuń 'download_new.sh'
This commit is contained in:
parent
add73d6260
commit
c181c7965b
@ -1,15 +0,0 @@
|
|||||||
dataset_operation() {
|
|
||||||
tail -n +2 all_games.csv | shuf > all_games.csv.s
|
|
||||||
head -n $CUTOFF all_games.csv.s > ./all_games.csv.shuf
|
|
||||||
len1=$(cat ./all_games.csv.shuf | wc -l)
|
|
||||||
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
|
|
||||||
rm all_games.csv.shuf
|
|
||||||
wc -l all_games.csv.*
|
|
||||||
}
|
|
||||||
|
|
||||||
echo 'Test'
|
|
Loading…
Reference in New Issue
Block a user