generate.predictions.file: generatePredictionsFile Generates predictions on the test...

Description Usage Arguments Value Examples

Description

generatePredictionsFile Generates predictions on the test data using the model passed as an argument and then writes them to a file for submission

Usage

1
generate.predictions.file(model, test.data)

Arguments

model

model for generating predictions on test data

Value

filename - filename of generated predictions file (just written to disk)

Examples

1
2
3
4
train <- remove.extra.cols(data('news_popularity_training'))
test <- data('news_popularity_test')
model <- train.randomForest(train)
generate.predictions.file(model, test)

abarciauskas-bgse/cphtbo documentation built on May 10, 2019, 4:09 a.m.