InvalidTargetDataCheck.
__init__
Check if the target is invalid for the specified problem type.
n_unique (int) – Number of unique target values to store when problem type is binary and target incorrectly has more than 2 unique values. Non-negative integer. Defaults to 100. If None, stores all unique values.