From e6a64c4d9b25b29cb2a50a49e399fd941c76bbe0 Mon Sep 17 00:00:00 2001 From: s434732 Date: Sun, 28 Mar 2021 20:29:59 +0200 Subject: [PATCH] q --- skrypt_zad2.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/skrypt_zad2.sh b/skrypt_zad2.sh index a3a9959..699a1a0 100644 --- a/skrypt_zad2.sh +++ b/skrypt_zad2.sh @@ -3,9 +3,13 @@ pip install kaggle kaggle datasets download martj42/international-football-results-from-1872-to-2017 --unzip -shuf results.csv | tail -n +"${CUTOFF}" > results.csv_cut.shuf +tail -n +2 healthcare-dataset-stroke-data.csv | shuf > results.data.shuf -head -n 75384 results.csv_cut.shuf > results.csv_cut.test -head -n 150768 results.csv_cut.shuf | tail -n 75384 > ./results.csv_cut.dev -tail -n +150769 results.csv_cut.shuf > results.csv_cut.train -wc -l results.csv_cut* \ No newline at end of file +head -n 1022 results.data.shuf > results.data.test +head -n 2044 results.data.shuf| tail -n 1022 > results.data.dev +tail -n +3066 results.data.shuf > results.data.train + + + +head -n $1 results.data.shuf > lab3.data +cat results.csv lab3.data > lab3.csv \ No newline at end of file