util.generate.submit: Generate a Kaggle-submitable CSV from the Predicted Data

Description Usage Arguments Details

View source: R/util.R

Description

This method generates a CSV file submitable to Kaggle from a data.frame containing the relevant data (incl. the predictions).

Usage

1

Arguments

data

data.frame containing the data needed for a submission of predictions to the Kaggle platform.

name

character string that represents the name of the CSV file to which the submission data will be stored.

Details

This method takes a data.frame that already contains all relevant data for a prediction submission to the Kaggle platform. E.g. in case of the "House Prices: Advanced Regression Techniques" challenge this data.frame would have to include one column with the ID and one with the predicted sale price of a house. These data is then written to a CSV file via a preconfigured call to the write.csv function to a file with the name given in the name parameter.


MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.