Download data script improvements
This commit is contained in:
parent
7345fe27a4
commit
0982b860c3
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
kaggle datasets download -d AnalyzeBoston/crimes-in-boston
|
kaggle datasets download -d AnalyzeBoston/crimes-in-boston --force
|
||||||
unzip crimes-in-boston.zip
|
unzip -o crimes-in-boston.zip
|
||||||
shuf crime.csv | head -n $1 > crime.shuf
|
shuf crime.csv | head -n $1 > crime.shuf
|
||||||
head -n 30000 crime.shuf > crime.test
|
head -n 30000 crime.shuf > crime.test
|
||||||
head -n 60000 crime.shuf | tail -n 30000 > crime.dev
|
head -n 60000 crime.shuf | tail -n 30000 > crime.dev
|
||||||
|
Loading…
Reference in New Issue
Block a user