This commit is contained in:
Wojciech Lidwin 2023-03-26 19:16:20 +02:00
parent 8af7c51713
commit 2077b735bb
2 changed files with 2 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -32,6 +32,7 @@ node {
"KAGGLE_KEY=${params.KAGGLE_KEY}",
"CUTOFF=${params.CUTOFF}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'ls'
sh 'chmod a+rx ./download_dataset.sh'
archiveArtifacts artifacts: 'baltimore_train.csv, baltimore_test.csv, baltimore_dev.csv'
}

View File

@ -2,6 +2,6 @@
kaggle datasets download -d sohier/crime-in-baltimore
unzip crime-in-baltimore.zip
head -n 10000 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
head -n 2000 baltimore_train.csv > baltimore_dev.csv