extract_performance | R Documentation |
Computes and collects discriminative performance metrics from a
familiarEnsemble
.
extract_performance(
object,
data,
cl = NULL,
metric = waiver(),
ensemble_method = waiver(),
evaluation_times = waiver(),
detail_level = waiver(),
estimation_type = waiver(),
aggregate_results = waiver(),
confidence_level = waiver(),
bootstrap_ci_method = waiver(),
is_pre_processed = FALSE,
message_indent = 0L,
verbose = FALSE,
...
)
object |
A |
data |
A |
cl |
Cluster created using the |
metric |
One or more metrics for assessing model performance. See the
vignette on performance metrics for the available metrics. If not provided
explicitly, this parameter is read from settings used at creation of the
underlying |
ensemble_method |
Method for ensembling predictions from models for the same sample. Available methods are:
|
evaluation_times |
One or more time points that are used for in analysis of
survival problems when data has to be assessed at a set time, e.g.
calibration. If not provided explicitly, this parameter is read from
settings used at creation of the underlying |
detail_level |
(optional) Sets the level at which results are computed and aggregated.
Note that each level of detail has a different interpretation for bootstrap
confidence intervals. For
A non-default |
estimation_type |
(optional) Sets the type of estimation that should be possible. This has the following options:
As with |
aggregate_results |
(optional) Flag that signifies whether results
should be aggregated during evaluation. If The default value is equal to As with |
confidence_level |
(optional) Numeric value for the level at which
confidence intervals are determined. In the case bootstraps are used to
determine the confidence intervals bootstrap estimation, The default value is |
bootstrap_ci_method |
(optional) Method used to determine bootstrap confidence intervals (Efron and Hastie, 2016). The following methods are implemented:
Note that the standard method is not implemented because this method is often not suitable due to non-normal distributions. The bias-corrected and accelerated (BCa) method is not implemented yet. |
is_pre_processed |
Flag that indicates whether the data was already
pre-processed externally, e.g. normalised and clustered. Only used if the
|
message_indent |
Number of indentation steps for messages shown during computation and extraction of various data elements. |
verbose |
Flag to indicate whether feedback should be provided on the computation and extraction of various data elements. |
... |
Unused arguments. |
This method computes credibility intervals for the ensemble model, at
the level of confidence_level
. This is a general method. Metrics with
known, theoretically derived confidence intervals, nevertheless have a
credibility interval computed.
A list with data.tables for single and ensemble model assessments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.