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.
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.
Here's a summary of the modifications to be made when using a template.
-
Change name of the directory easy_gold to {my_package_name}
-
Also change the easy_gold part of each code to {my_package_name}
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.
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.
- Set the following parameters