View source: R/bgc_class_model.R
class_model_predict | R Documentation |
Predict the class abundance
class_model_predict(x, model_c = NULL, model_r)
x |
a matrix of data frame. These are the predictor variables (i.e. domain abundances). |
model_c |
a model object. This is the binary classification model returned by class_model_train(). The predictor variables used to train the model should be exactly the same as the variables in x. |
model_r |
a model object. This is the regression model returned by class_model_train(). The predictor variables used to train the model should be exactly the same as the variables in x. |
A numeric vector containing the predicted abundances.
class_model_predict( model_c = t1pks_binary_model, model_r = t1pks_regression_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.