From ddbe21d38276beea082956d2a060d3dd287bee9b Mon Sep 17 00:00:00 2001 From: patrycjalazna <patrycja.lazna@gmail.com> Date: Sun, 28 Mar 2021 16:28:36 +0200 Subject: [PATCH] cutoff --- avocado-preprocessing.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avocado-preprocessing.sh b/avocado-preprocessing.sh index 917ddb6..00536cd 100755 --- a/avocado-preprocessing.sh +++ b/avocado-preprocessing.sh @@ -15,9 +15,11 @@ cut -d ',' -f12 --complement avocado-updated-2020.csv head -n 1 avocado-updated-2020.csv > header.csv head -n -1 avocado-updated-2020.csv | shuf > avocado-updated-2020-shuf.csv -echo "$1 AAAAAAAAAAAAAAAAA" head -n "$1" avocado-updated-2020-shuf.csv > avocado-2020.csv wc -l avocado-2020.csv +> avocado-updated-2020-shuf.csv +avocado-2020.csv > avocado-updated-2020-shuf.csv +rm avocado-2020.csv # podzial na train/dev/test