cutoff
This commit is contained in:
parent
01c9e7d03f
commit
e9150d2694
@ -15,8 +15,8 @@ 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-shuf.csv > avocado-2020.csv
|
||||
declare -i truncated_size=$(wc -l avocado-2020.csv | awk '{print $1}')
|
||||
let test_size= $((0.2*$truncated_size))
|
||||
let truncated_size=$(wc -l avocado-2020.csv | awk '{print $1}')
|
||||
let test_size=$((0.2*$truncated_size))
|
||||
let dev_size=$((2*0.2*$truncated_size))
|
||||
let train_size=$((2*0.2*$truncated_size+1))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user