You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
the label binarizer class takes a dataset with 2 labels that are not binary, and maps the min value to 0, and the max value to 1. It stores these values to do the inverse of this operation later.
There is a problem where the dataset size is very small and only contains one label due to the following: assert dataset.y[y_col].nunique() == 2
I don't know the best way to deal with this, maybe provide the labels as an arg?
The text was updated successfully, but these errors were encountered:
the label binarizer class takes a dataset with 2 labels that are not binary, and maps the min value to 0, and the max value to 1. It stores these values to do the inverse of this operation later.
There is a problem where the dataset size is very small and only contains one label due to the following:
assert dataset.y[y_col].nunique() == 2
I don't know the best way to deal with this, maybe provide the labels as an arg?
The text was updated successfully, but these errors were encountered: