View source: R/add_predictions.R
add_predictions | R Documentation |
This function takes a list of models and makes predictions on new data.
add_predictions(models, new_data, models_to_use = NULL)
models |
A list with model objects generated by make_xgb_models. |
new_data |
A dataframe of new cases with predictors as columns. Sample names are row names. |
models_to_use |
Optional vector with subset of names of models to use. |
make_new_data_predictions(my_model,"ko_ctnnb1",1,1,my_new_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.