2022-03-27 11:29:22 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
kaggle datasets download -d AnalyzeBoston/crimes-in-boston
|
|
|
|
unzip crimes-in-boston.zip
|
2022-03-27 12:25:33 +02:00
|
|
|
shuf crime.csv | head -n $1 > crime.shuf
|
2022-03-27 11:29:22 +02:00
|
|
|
head -n 30000 crime.shuf > crime.test
|
|
|
|
head -n 60000 crime.shuf | tail -n 30000 > crime.dev
|
|
|
|
tail -n +60001 crime.shuf > crime.train
|