Dockerfile
This commit is contained in:
parent
d2e2cb1b84
commit
4a7161ef52
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -24,7 +24,6 @@ pipeline {
|
||||
stage('Run create-dataset script') {
|
||||
steps {
|
||||
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||
sh 'rm -rf /.kaggle'
|
||||
sh 'chmod +x create-dataset.py'
|
||||
sh 'python3 ./create-dataset.py'
|
||||
}
|
||||
|
@ -9,7 +9,8 @@ from sklearn.model_selection import train_test_split
|
||||
|
||||
|
||||
def download_kaggle_dataset():
|
||||
os.system("pwd")
|
||||
os.system("ls ~/.kaggle")
|
||||
os.system("ls /.kaggle")
|
||||
kaggle = KaggleApi()
|
||||
kaggle.authenticate()
|
||||
kaggle.dataset_download_files("mlg-ulb/creditcardfraud", path="./", unzip=True)
|
||||
|
Loading…
Reference in New Issue
Block a user