From c181c7965b94d854189278873c70d6f5482523c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Parafi=C5=84ski?= Date: Sun, 27 Mar 2022 23:56:02 +0200 Subject: [PATCH] =?UTF-8?q?Usu=C5=84=20'download=5Fnew.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- download_new.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 download_new.sh diff --git a/download_new.sh b/download_new.sh deleted file mode 100644 index 9980aae..0000000 --- a/download_new.sh +++ /dev/null @@ -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' \ No newline at end of file