9 lines
271 B
Bash
Executable File
9 lines
271 B
Bash
Executable File
#!/bin/bash
|
|
|
|
kaggle datasets download -d AnalyzeBoston/crimes-in-boston
|
|
unzip crimes-in-boston.zip
|
|
shuf crime.csv | head -n $1 > crime.shuf
|
|
head -n 30000 crime.shuf > crime.test
|
|
head -n 60000 crime.shuf | tail -n 30000 > crime.dev
|
|
tail -n +60001 crime.shuf > crime.train
|