This commit is contained in:
Wojciech Lidwin 2023-03-26 18:42:53 +02:00
parent 343817ab17
commit d001f55a09

View File

@ -2,10 +2,11 @@
kaggle datasets download -d sohier/crime-in-baltimore kaggle datasets download -d sohier/crime-in-baltimore
unzip crime-in-baltimore.zip unzip crime-in-baltimore.zip
echo 'Split'
wc -l BPD_Part_1_Victim_Based_Crime_Data.csv wc -l BPD_Part_1_Victim_Based_Crime_Data.csv
head -n 8000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_train.csv head -n 8000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_train.csv
tail -n 2000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_test.csv tail -n 2000 BPD_Part_1_Victim_Based_Crime_Data.csv > baltimore_test.csv
head -n 2000 baltimore_train.csv > baltimore_dev.csv head -n 2000 baltimore_train.csv > baltimore_dev.csv
echo 'End'
wc -l baltimore_train.csv wc -l baltimore_train.csv