.check_class_level_plausibility | R Documentation |
This function checks whether categorical levels are present in the data that are not found in the user-provided class levels.
.check_class_level_plausibility(
data,
outcome_type,
outcome_column,
class_levels,
check_stringency = "strict"
)
data |
Data set as loaded using the |
outcome_type |
(recommended) Type of outcome found in the outcome column. The outcome type determines many aspects of the overall process, e.g. the available feature selection methods and learners, but also the type of assessments that can be conducted to evaluate the resulting models. Implemented outcome types are:
If not provided, the algorithm will attempt to obtain outcome_type from contents of the outcome column. This may lead to unexpected results, and we therefore advise to provide this information manually. Note that |
outcome_column |
(recommended) Name of the column containing the
outcome of interest. May be identified from a formula, if a formula is
provided as an argument. Otherwise an error is raised. Note that |
class_levels |
(optional) Class levels for |
check_stringency |
Specifies stringency of various checks. This is mostly:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.