We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWE:
Seems like the documentation is incorrect here and the samplers are not sklearn API compatible. Also implementing
from multi_imbalance.resampling.soup import SOUP soup = SOUP(maj_int_min={ 'maj': [0, 1], # indices of majority classes 'min': [2, 3, 4, 5] # indices of minority classes }) X_train_res, y_train_res = soup.fit_transform(X_train, y_train) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [<ipython-input-12-97237e7146d3>](https://localhost:8080/#) in <module>() 6 'min': [2, 3, 4, 5] # indices of minority classes 7 }) ----> 8 X_train_res, y_train_res = soup.fit_transform(X_train, y_train) AttributeError: 'SOUP' object has no attribute 'fit_transform'
The text was updated successfully, but these errors were encountered:
fit_transform should be fit_resample
Sorry, something went wrong.
No branches or pull requests
MWE:
Seems like the documentation is incorrect here and the samplers are not sklearn API compatible.
Also implementing
The text was updated successfully, but these errors were encountered: