File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,21 @@ class SMOTE(BaseBinarySampler):
48
48
49
49
m : int, optional (default=None)
50
50
Number of nearest neighbours to use to determine if a minority sample
51
- is in danger.
51
+ is in danger. Used with kind={'borderline1', 'borderline2', 'svm'}.
52
52
53
53
NOTE: `m` is deprecated from 0.2 and will be replaced in 0.4
54
54
Use ``m_neighbors`` instead.
55
55
56
56
m_neighbors : int int or object, optional (default=10)
57
57
If int, number of nearest neighbours to use to determine if a minority
58
- sample is in danger.
58
+ sample is in danger. Used with kind={'borderline1', 'borderline2',
59
+ 'svm'}.
59
60
If object, an estimator that inherits from
60
61
`sklearn.neighbors.base.KNeighborsMixin` that will be used to find
61
62
the k_neighbors.
62
63
63
64
out_step : float, optional (default=0.5)
64
- Step size when extrapolating.
65
+ Step size when extrapolating. Used with kind='svm'.
65
66
66
67
kind : str, optional (default='regular')
67
68
The type of SMOTE algorithm to use one of the following options:
You can’t perform that action at this time.
0 commit comments