“Hubungkan Kaggle ke Colab” Kode Jawaban

Menghubungkan Kaggle ke Google Colab

! pip install kaggle # Install the Kaggle library
! mkdir ~/.kaggle # Make a directory named “.kaggle”
! cp kaggle.json ~/.kaggle/ # Copy the “kaggle.json” into this new directory
! chmod 600 ~/.kaggle/kaggle.json # Allocate the required permission for this file.
! kaggle competitions download <name-of-competition> # Downloading Competitions dataset
! kaggle datasets download <name-of-dataset> # Downloading Datasets
nilotpalc

Hubungkan Kaggle ke Colab

! pip install -q kaggle

from google.colab import files
files.upload()

! mkdir ~/.kaggle
! cp kaggle.json ~/.kaggle/

!chmod 600 ~/.kaggle/kaggle.json

! kaggle datasets list  # to check if it is working

!kaggle competitions download -c tabular-playground-series-mar-2021
Aggressive Anteater

Jawaban yang mirip dengan “Hubungkan Kaggle ke Colab”

Pertanyaan yang mirip dengan “Hubungkan Kaggle ke Colab”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya