skactiveml.utils.check_equal_missing_label#

skactiveml.utils.check_equal_missing_label(missing_label1, missing_label2)[source]#

Check whether two missing label values are equal to each other.

Parameters
missing_label1number or str or None or np.nan

Value to represent a missing label.

missing_label2number or str or None or np.nan

Other value to represent a missing label.

Raises
ValueError

If the two missing labels are not equal.