Now, we can use `y_type` to check that we binary or multiclass classification. The `else` could be used to raise an error.

This might be done in another pr.