imbalanced-learn icon indicating copy to clipboard operation
imbalanced-learn copied to clipboard

A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning

Results 85 imbalanced-learn issues
Sort by recently updated
recently updated
newest added

When I try to use the below code, I always get this >TypeError: label_binarize() takes 1 positional argument but 2 were given. ``` from imblearn.over_sampling import SMOTE sampler = SMOTE(random_state=0)...

Status: More Info Needed

So I'm new at programming and machine learning, and I'm using this code I found from a journal for spam detection. When I try to use it, the result turns...

Status: More Info Needed

#### Describe the bug The output of imblearn's pipeline is inconsistent for `fit_transform` and `fit().transform()` (see example). The reason this happens is because in the `transform` method SMOTE is not...

#### Describe the bug In SMOTE-NC, the distance between categorical features is determined by the median of the standard deviation of the continuous features in the minority class. This median...

#### Reference Issue Fixes #904 #### What does this implement/fix? Explain your changes. * Change `pipeline.fit_transform` to fit final estimator with transformed data, then use fitted estimator to transform original...

In README.rst it mentions that there are two techniques instead of four. #### What does this implement/fix? Explain your changes. #### Any other comments?

#### Reference Issue Fixes #837 #### What does this implement/fix? Explain your changes. Fixes the issue as described by @glemaitre here: https://github.com/scikit-learn-contrib/imbalanced-learn/issues/837#issuecomment-1013928249 #### Any other comments? Had to add `ytype`...

#### Reference Issue #### What does this implement/fix? Explain your changes. #### Any other comments?

#### Reference Issue #### What does this implement/fix? Explain your changes. Some source code links are wrong in the API reference. For example [make_imbalance](https://imbalanced-learn.org/stable/references/generated/imblearn.datasets.make_imbalance.html), [fetch_datasets](https://imbalanced-learn.org/stable/references/generated/imblearn.datasets.fetch_datasets.html), [classification_report_imbalanced](https://imbalanced-learn.org/stable/references/generated/imblearn.metrics.classification_report_imbalanced.html) and many more. The...

#### Describe the bug Error with `SMOTENC.fit_resample`: `ValueError: could not broadcast input array from shape (137,12) into shape (272,12)` #### Steps/Code to Reproduce Using the two X and y csv...