Test
This commit is contained in:
parent
d652598a82
commit
343817ab17
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -27,7 +27,7 @@ node {
|
|||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'chmod u+x ./download_dataset.sh'
|
sh 'chmod u+x ./download_dataset.sh'
|
||||||
archiveArtifacts artifacts: '*.csv', followSymlinks: false
|
archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,7 +2,10 @@
|
|||||||
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
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
wc -l baltimore_train.csv
|
Loading…
Reference in New Issue
Block a user