Dockerfile
This commit is contained in:
parent
32bcaf02f0
commit
78754f7a40
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -29,7 +29,7 @@ pipeline {
|
||||
stage('Run create-dataset script') {
|
||||
steps {
|
||||
sh 'chmod +x create-dataset.py'
|
||||
sh 'python3 ./create-dataset.py $KAGGLE_USERNAME $KAGGLE_KEY'
|
||||
sh 'python3 ./create-dataset.py'
|
||||
}
|
||||
}
|
||||
stage('Archive Artifacts') {
|
||||
|
@ -10,8 +10,6 @@ from sklearn.model_selection import train_test_split
|
||||
|
||||
|
||||
def download_kaggle_dataset():
|
||||
os.environ["KAGGLE_USERNAME"] = sys.argv[1]
|
||||
os.environ["KAGGLE_KEY"] = sys.argv[2]
|
||||
kaggle = KaggleApi()
|
||||
kaggle.authenticate()
|
||||
kaggle.dataset_download_files("mlg-ulb/creditcardfraud", path="./", unzip=True)
|
||||
|
Loading…
Reference in New Issue
Block a user