This commit is contained in:
patrycjalazna 2021-03-28 16:28:36 +02:00
parent 1dd943d0c2
commit ddbe21d382

View File

@ -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 > header.csv
head -n -1 avocado-updated-2020.csv | shuf > avocado-updated-2020-shuf.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 head -n "$1" avocado-updated-2020-shuf.csv > avocado-2020.csv
wc -l 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 # podzial na train/dev/test