components.caretx | R Documentation |
The components()
and model.frame()
methods provide handy extractor
functions enabling access to the data, predictions, number of observations
and fit summary.
## S3 method for class 'caretx'
components(
object,
newdata = NULL,
what = c("data", "formula", "resample", "tuning", "best_tune", "prediction",
"probability", "square_dist", "fit", "n", "n_classes", "residuals", "confusion"),
...
)
## S3 method for class 'predx'
components(
object,
what = c("data", "prediction", "classes", "probability", "square_dist", "fit", "n",
"n_classes", "residuals", "confusion"),
...
)
## S3 method for class 'predx'
model.frame(formula, ...)
## S3 method for class 'caretx'
model.frame(formula, ...)
object |
a |
newdata |
test data set required for making predictions.
NULL by default, used only if |
what |
name of the requested feature:
|
... |
additional arguments passed to the specific methods. |
formula |
|
the requested feature.
Brier GW. VERIFICATION OF FORECASTS EXPRESSED IN TERMS OF PROBABILITY. Mon Weather Rev (1950) 78:1–3. doi:10.1175/1520-0493(1950)078<0001:vofeit>2.0.co;2
Goldstein-Greenwood J. A Brief on Brier Scores | UVA Library. (2021) Available at: https://library.virginia.edu/data/articles/a-brief-on-brier-scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.