Dockerfile
This commit is contained in:
parent
ce64e16c03
commit
22deaa5791
@ -10,11 +10,9 @@ from sklearn.model_selection import train_test_split
|
||||
|
||||
|
||||
def download_kaggle_dataset():
|
||||
print(os.environ.get("KAGGLE_USERNAME"))
|
||||
print(os.environ.get("KAGGLE_KEY"))
|
||||
kaggle = KaggleApi()
|
||||
kaggle.authenticate()
|
||||
kaggle.dataset_download_files("mlg-ulb/creditcardfraud", path="./", unzip=True)
|
||||
os.system("kaggle datasets download -d mlg-ulb/creditcardfraud")
|
||||
os.system("unzip creditcardfraud.zip")
|
||||
os.system("rm creditcardfraud.zip")
|
||||
|
||||
|
||||
def load_data(name):
|
||||
|
Loading…
Reference in New Issue
Block a user