Skip to content

Commit 46a6b8b

Browse files
cmarmojnothman
authored andcommitted
DOC Fix various sphinx warnings. (#15692)
1 parent 42811b4 commit 46a6b8b

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

doc/faq.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -392,11 +392,11 @@ Currently transform only works for features X in a pipeline.
392392
There's a long-standing discussion about
393393
not being able to transform y in a pipeline.
394394
Follow on github issue
395-
`#4143<https://github.com/scikit-learn/scikit-learn/issues/4143>`_.
395+
`#4143 <https://github.com/scikit-learn/scikit-learn/issues/4143>`_.
396396
Meanwhile check out
397397
:class:`sklearn.compose.TransformedTargetRegressor`,
398-
`pipegraph<https://github.com/mcasl/PipeGraph>`_,
399-
`imbalanced-learn<https://github.com/scikit-learn-contrib/imbalanced-learn>`_.
398+
`pipegraph <https://github.com/mcasl/PipeGraph>`_,
399+
`imbalanced-learn <https://github.com/scikit-learn-contrib/imbalanced-learn>`_.
400400
Note that Scikit-learn solved for the case where y
401401
has an invertible transformation applied before training
402402
and inverted after prediction. Scikit-learn intends to solve for

examples/gaussian_process/plot_gpr_on_structured_data.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
four correct classifications and fails on one.
3434
3535
.. [1] Haussler, D. (1999). Convolution kernels on discrete structures
36-
(Vol. 646). Technical report, Department of Computer Science, University of
37-
California at Santa Cruz.
36+
(Vol. 646). Technical report, Department of Computer Science, University
37+
of California at Santa Cruz.
3838
"""
3939
print(__doc__)
4040

sklearn/ensemble/_forest.py

+2
Original file line numberDiff line numberDiff line change
@@ -1563,6 +1563,7 @@ class ExtraTreesClassifier(ForestClassifier):
15631563
- the sampling of the features to consider when looking for the best
15641564
split at each node (if ``max_features < n_features``)
15651565
- the draw of the splits for each of the `max_features`
1566+
15661567
See :term:`Glossary <random_state>` for details.
15671568
15681569
verbose : int, optional (default=0)
@@ -1871,6 +1872,7 @@ class ExtraTreesRegressor(ForestRegressor):
18711872
- the sampling of the features to consider when looking for the best
18721873
split at each node (if ``max_features < n_features``)
18731874
- the draw of the splits for each of the `max_features`
1875+
18741876
See :term:`Glossary <random_state>` for details.
18751877
18761878
verbose : int, optional (default=0)

0 commit comments

Comments
 (0)