ium_434780/script.sh

8 lines
358 B
Bash
Raw Normal View History

#!/bin/bash
2021-05-16 21:21:35 +02:00
wget -c https://git.wmi.amu.edu.pl/s434780/ium_434780/src/branch/master/dataset-Amazon.csv
head -n -1 dataset-Amazon.csv | shuf > dataset-Amazon.csv.shuf
wc -l dataset-Amazon.csv
head -n 500 dataset-Amazon.csv.shuf > test.csv
head -n 500 dataset-Amazon.csv.shuf | tail -n 500 > dev.csv
tail -n +501 dataset-Amazon.csv.shuf > train.csv
wc -l *.csv