Description Usage Arguments Details See Also Examples
Upload a preformatted csv file with the predicted test results to Kaggle.
1 | api.submit(filepath, username, password, competition, message = "")
|
filepath |
Path to the |
username |
Kaggle username to login to the Kaggle plattform. |
password |
Kaggle password to login to the Kaggle plattform. |
competition |
Name of the Kaggle competition the submission is intended for. |
message |
Additional message that describes the submission. Is optional and by default empty. |
This method allows to upload the predicted output in csv format to the
Kaggle competition. It bases on the Kaggle CLI tool by floydwch which is a
Python CLI tool. This requires an existing Python installation as well as
having the Kaggle CLI tool installed (with Python and pip via
pip install kaggle-cli
). With the requirements given this method
works as an R wrapper around this tool.
Makes use of the Kaggle CLI tool by floydwch which can be found at https://github.com/floydwch/kaggle-cli.
1 2 3 4 5 6 | KaggleHouse:::api.submit(
filepath = "sample_submission.csv",
username = "kaggle_user",
password = "abc123",
competition = "house-prices-advanced-regression-techniques"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.