IUM_03 - download_dataset.sh add comments
This commit is contained in:
parent
93c4d885d8
commit
ef6574d2eb
@ -22,6 +22,7 @@ fi
|
|||||||
head -n $(expr $data_size / 10 \* 8) data.csv > train.csv
|
head -n $(expr $data_size / 10 \* 8) data.csv > train.csv
|
||||||
tail -n $(expr $data_size / 10 \* 2) data.csv > dev.csv.tmp
|
tail -n $(expr $data_size / 10 \* 2) data.csv > dev.csv.tmp
|
||||||
|
|
||||||
|
# Get number of rows in dev.csv.tmp
|
||||||
dev_size=$(wc -l < dev.csv.tmp)
|
dev_size=$(wc -l < dev.csv.tmp)
|
||||||
|
|
||||||
head -n $(expr $dev_size / 10 \* 5) dev.csv.tmp > dev.csv
|
head -n $(expr $dev_size / 10 \* 5) dev.csv.tmp > dev.csv
|
||||||
|
Loading…
Reference in New Issue
Block a user