Description Usage Arguments Value Examples
View source: R/predict_bicycle_rental.R
predict hourly amount of bicycle rental in 2015 using random forest algorithm. Create prediction model using 'train_dataset' and forecast demand of bicycle rental according to the condition of 'test_dataset'
1 | predict_bicycle_rental(rf_model, test_dataset)
|
rf_model |
random forest prediction model create by create_train_model() |
test_dataset |
testing dataset |
test_dataset with predictive result.
1 2 3 4 5 | ## Not run: train_dataset <- create_train_dataset(3)
test_dataset <- create_test_dataset(3)
rf_model <- create_train_model(train_dataset)
test_dataset <- predict_bicycle_rental(rf_model, test_dataset)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.