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, ...)A numeric vector representing the prognostic risk score (higher values typically indicate higher risk).
A trained model object with class pro_model.
A data frame containing features for prediction.
Additional arguments passed to specific methods.