Skip to content

wakame1367/kaggle_submission_pipeline_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaggle_submission_pipeline_template

This repository is influenced by kaggle-script-template. The difference between this template and this one is that we have added GithubActions to submit the code using the KaggleAPI.

Example

This repository has been generated using a kaggle_submission_pipeline_template. Here's a link between the repository created using this template and the Kaggle Notebook generated by GithubActions.

Correctional point

Here's a summary of the modifications to be made when using a template.

Code

Github Secrets

Set an API token in Github Secrets before running Github Actions. See Kaggle Public API to generate an API token.

In order to use the Kaggle’s public API, you must first authenticate using an API token. From the site header, click on your user profile picture, then on “My Account” from the dropdown menu. This will take you to your account settings at https://www.kaggle.com/account. Scroll down to the section of the page labelled API: To create a new token, click on the “Create New API Token” button. This will download a fresh authentication token onto your machine.

See Github - encrypted-secrets about Github Secrets.

Set the Name and Value(listed in the API token) as shown below.

Name Value
KAGGLE_USERNAME Listed in the API token
KAGGLE_KEY Listed in the API token

Github Action(upload.yml)

Please refer to the following Kernel-Metadata for parameter settings. See the following Clean_URL#Slug to learn how to write a slug.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages