We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d800b1 commit 7572ba1Copy full SHA for 7572ba1
imblearn/under_sampling/prototype_selection/neighbourhood_cleaning_rule.py
@@ -66,6 +66,15 @@ class NeighbourhoodCleaningRule(BaseCleaningSampler):
66
:class:`sklearn.neighbors.base.KNeighborsMixin` that will be used to
67
find the nearest-neighbors.
68
69
+ threshold_cleaning : float, optional (default=0.5)
70
+ Threshold used to whether consider a class or not during the cleaning
71
+ after applying ENN. A class will be considered during cleaning when:
72
+
73
+ Ci > C x T ,
74
75
+ where Ci and C is the number of samples in the class and the data set,
76
+ respectively and theta is the threshold.
77
78
n_jobs : int, optional (default=1)
79
The number of threads to open if possible.
80
0 commit comments