model_performance calculates the prediction error for chosen survival model.
model_performance(explainer, type = "BS", ...)
a model to be explained, preprocessed by the 'survxai::explain' function
character - type of the response to be calculated Currently following options are implemented: 'BS' for Expected Brier Score
type = "BS" prediction error is the time dependent estimates of the population average Brier score.
At a given time point t, the Brier score for a single observation is the squared difference between observed survival status
and a model based prediction of surviving time t.
Ulla B. Mogensen, Hemant Ishwaran, Thomas A. Gerds (2012). Evaluating Random Forests for Survival Analysis Using Prediction Error Curves. Journal of Statistical Software, 50(11), 1-23. URL http://www.jstatsoft.org/v50/i11/.