try again
This commit is contained in:
parent
3a4d13f02c
commit
2480f2a989
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -35,6 +35,7 @@ pipeline {
|
||||
// sh 'ls -a ./ium_z444510'
|
||||
sh 'chmod +x create-dataset.sh'
|
||||
sh './create-dataset.sh'
|
||||
archiveArtifacts 'data/barcelona_weekends.train.csv, data/barcelona_weekends.dev.csv, data/barcelona_weekends.test.csv'
|
||||
}
|
||||
// archiveArtifacts 'ium_z444510/train.csv'
|
||||
// archiveArtifacts 'ium_z444510/dev.csv'
|
||||
|
@ -1,3 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 'Hello'
|
||||
export KAGGLE_USERNAME=$KAGGLE_USERNAME
|
||||
export KAGGLE_KEY=$KAGGLE_KEY
|
||||
|
||||
kaggle datasets download -d thedevastator/airbnb-prices-in-european-cities
|
||||
unzip airbnb-prices-in-european-cities.zip -d data
|
||||
rm airbnb-prices-in-european-cities.zip
|
||||
|
||||
head -n $CUTOFF data/barcelona_weekends.csv | shuf > data/barcelona_weekends.shuf.csv
|
||||
head -n 25 data/barcelona_weekends.shuf.csv > data/barcelona_weekends.test.csv
|
||||
head -n 50 data/barcelona_weekends.shuf.csv | tail -n 25 > data/barcelona_weekends.dev.csv
|
||||
tail -n +51 data/barcelona_weekends.shuf.csv > data/barcelona_weekends.train.csv
|
||||
rm data/barcelona_weekends.shuf.csv
|
||||
|
Loading…
Reference in New Issue
Block a user