Skip to content

Commit ebe6dd9

Browse files
committed
DOC resolve sphinx error
1 parent 8cc0094 commit ebe6dd9

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

examples/plot_outlier_rejections.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ def outlier_rejection(X, y):
8888
"""This will be our function used to resample our dataset."""
8989
model = IsolationForest(max_samples=100,
9090
contamination=0.4,
91-
random_state=rng,
92-
behaviour='new')
91+
random_state=rng)
9392
model.fit(X)
9493
y_pred = model.predict(X)
9594
return X[y_pred == 1], y[y_pred == 1]

imblearn/ensemble/_forest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ class BalancedRandomForestClassifier(RandomForestClassifier):
204204
ccp_alpha : non-negative float, optional (default=0.0)
205205
Complexity parameter used for Minimal Cost-Complexity Pruning. The
206206
subtree with the largest cost complexity that is smaller than
207-
``ccp_alpha`` will be chosen. By default, no pruning is performed. See
208-
:ref:`minimal_cost_complexity_pruning` for details.
207+
``ccp_alpha`` will be chosen. By default, no pruning is performed.
209208
210209
.. versionadded:: 0.22
211210
Added in `scikit-learn` in 0.22

imblearn/over_sampling/_smote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ class SMOTENC(SMOTE):
850850
851851
See
852852
:ref:`sphx_glr_auto_examples_over-sampling_plot_comparison_over_sampling.py`,
853-
and :ref:`sphx_glr_auto_examples_over-sampling_plot_smote.py`.
853+
and :ref:`sphx_glr_auto_examples_over-sampling_plot_illustration_generation_sample.py`.
854854
855855
See also
856856
--------

0 commit comments

Comments
 (0)