this function takes the model structure generated by train_linear_model, along with a test set in the same format as the untransformed *input* df to the prepare_training_set function, to return a prediction vector in the untransformed df.
1 | get_predictions_rf(model_structure, test_df)
|
model_structure |
model structure cresated earlier |
test_df |
the test data frame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.