Dockerfile
This commit is contained in:
parent
5bcd4e4c8e
commit
762db3c7f4
@ -1,5 +1,5 @@
|
||||
import os
|
||||
import kaggle
|
||||
from kaggle.api.kaggle_api_extended import KaggleApi
|
||||
import pandas as pd
|
||||
import numpy as np
|
||||
|
||||
@ -9,8 +9,9 @@ from sklearn.model_selection import train_test_split
|
||||
|
||||
|
||||
def download_kaggle_dataset():
|
||||
kaggle.api.authenticate()
|
||||
kaggle.api.dataset_download_files("mlg-ulb/creditcardfraud", path="./", unzip=True)
|
||||
kaggle = KaggleApi()
|
||||
kaggle.authenticate()
|
||||
kaggle.dataset_download_files("mlg-ulb/creditcardfraud", path="./", unzip=True)
|
||||
|
||||
|
||||
def load_data(name):
|
||||
|
Loading…
Reference in New Issue
Block a user