ium_440058/bash.sh
2021-03-28 21:11:46 +02:00

10 lines
364 B
Bash

curl -OL https://https://git.wmi.amu.edu.pl/s440058/ium_440058/src/branch/master/courses.csv
head -n 1 courses.csv > header.csv
tail -n +2 courses.csv | shuf > courses.data.shuf
head -n 15208 courses.data.shuf > courses.data.test
head -n 15200 courses.data.shuf| tail -n 1022 > courses.data.dev
tail -n 45600 courses.data.shuf > courses.data.train
wc -l ./*.csv