ium_430705/script.sh

10 lines
390 B
Bash
Raw Normal View History

2021-03-28 20:07:35 +02:00
#!/bin/bash
2021-03-28 20:24:44 +02:00
curl -LO https://git.wmi.amu.edu.pl/s430705/ium_430705/raw/branch/master/imdb_movies.csv
2021-03-28 20:30:56 +02:00
head -n -1 imdb_movies.csv | tail -n +$((${CUTOFF}+1)) > imdb_movies.csv | shuf > imdb_movies.csv.shuf
2021-03-28 20:07:35 +02:00
wc -l imdb_movies.csv
2021-03-28 20:24:44 +02:00
head -n 4600 imdb_movies.csv.shuf > test.csv
head -n 4600 imdb_movies.csv.shuf | tail -n 4600 > dev.csv
tail -n 13800 imdb_movies.csv.shuf > train.csv
2021-03-28 20:07:35 +02:00
wc -l *.csv