cutoff
This commit is contained in:
parent
ddbe21d382
commit
e334ad1bf6
@ -17,15 +17,12 @@ head -n -1 avocado-updated-2020.csv | shuf > avocado-updated-2020-shuf.csv
|
||||
|
||||
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
|
||||
head -n 6609 avocado-updated-2020-shuf.csv > avocado-updated-2020-test.csv
|
||||
head -n 13218 avocado-updated-2020-shuf.csv | tail -n 6609 > avocado-updated-2020-dev.csv
|
||||
tail -n +13219 avocado-updated-2020-shuf.csv > avocado-updated-2020-train.csv
|
||||
head -n 6609 avocado-2020.csv > avocado-updated-2020-test.csv
|
||||
head -n 13218 avocado-2020.csv | tail -n 6609 > avocado-updated-2020-dev.csv
|
||||
tail -n +13219 avocado-2020.csv > avocado-updated-2020-train.csv
|
||||
|
||||
wc -l avocado-updated-2020-*.csv
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user