skactiveml.utils.check_classifier_params#
- skactiveml.utils.check_classifier_params(classes, missing_label, cost_matrix=None)[source]#
Check whether the parameters are compatible to each other (only if classes is not None).
- Parameters
- classesarray-like of shape (n_classes,)
Array of class labels.
- missing_labelscalar or string or np.nan or None
Value to represent a missing label.
- cost_matrixarray-like of shape (n_classes, n_classes), default=None
Cost matrix. If None, cost matrix will be not checked.