2021-04-19 14:14:54 +02:00
|
|
|
#!/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
|
2021-04-19 14:14:54 +02:00
|
|
|
wc -l *.csv
|