emba (version 0.1.1)

get_models_based_on_mcc_class_id: Get models based on the MCC class id

Description

This helper function finds all the models that belong to a specific MCC cluster, i.e. their MCC values belong to the same cluster id.

Usage

get_models_based_on_mcc_class_id(class.id, models.cluster.ids, models.mcc)

Arguments

class.id

an integer specifying the class id.

models.cluster.ids

a numeric vector of cluster ids assigned to each model. It is the result of using Ckmeans.1d.dp with input the sorted vector of the models' MCC values with no NaNs included.

models.mcc

a numeric sorted vector of Matthews Correlation Coefficient (MCC) scores, one for each model (no NaNs included). The names attribute holds the models' names.

Value

a character vector of model names