| predict_pro | R Documentation |
A unified S3 generic method to generate prognostic risk scores from various trained model objects. This decouples the prediction implementation from the high-level evaluation logic, facilitating extensibility.
predict_pro(object, newdata, ...)
object |
A trained model object with class |
newdata |
A data frame containing features for prediction. |
... |
Additional arguments passed to specific methods. |
A numeric vector representing the prognostic risk score (higher values typically indicate higher risk).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.