10000 documentation issues: label changed and added for version 0.18 · scikit-learn/scikit-learn@901ef53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 901ef53

Browse files
hhnnhhBrigitte@home
authored andcommitted
documentation issues: label changed and added for version 0.18
1 parent dab1c85 commit 901ef53

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

sklearn/cluster/_kmeans.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,8 @@ class KMeans(TransformerMixin, ClusterMixin, BaseEstimator):
835835
might change in the future for a better heuristic.
836836
837837
.. versionchanged:: 0.18
838-
Added ''algorithm="elkan"'' implementing Elkan's fast K-Means algorithm
838+
Added ''algorithm="elkan"'' implementing Elkan's fast K-Means
839+
algorithm
839840
840841
Attributes
841842
----------

sklearn/ensemble/_voting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ def fit(self, X, y, sample_weight=None):
233233
Sample weights. If None, then samples are equally weighted.
234234
Note that this is supported only if all underlying estimators
235235
support sample weights.
236-
.. versionadded:: 0.18
236+
237+
.. versionadded:: 0.18
237238
238239
Returns
239240
-------

sklearn/feature_selection/_univariate_selection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ class SelectPercentile(_BaseFilter):
384384
Default is f_classif (see below "See also"). The default function only
385385
works with classification tasks.
386386
387-
..versionadded:: 0.18
387+
.. versionadded:: 0.18
388388
389389
percentile : int, optional, default=10
390390
Percent of features to keep.
@@ -469,7 +469,7 @@ class SelectKBest(_BaseFilter):
469469
Default is f_classif (see below "See also"). The default function only
470470
works with classification tasks.
471471
472-
..versionadded:: 0.18
472+
.. versionadded:: 0.18
473473
474474
k : int or "all", optional, default=10
475475
Number of top features to select.

sklearn/preprocessing/_function_transformer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ class FunctionTransformer(TransformerMixin, BaseEstimator):
6666
kw_args : dict, optional
6767
Dictionary of additional keyword arguments to pass to func.
6868
69-
..functionadded:: 0.18
69+
.. versionadded:: 0.18
7070
7171
inv_kw_args : dict, optional
7272
Dictionary of additional keyword arguments to pass to inverse_func.
7373
74-
..functionadded:: 0.18
74+
.. versionadded:: 0.18
7575
7676
Examples
7777
--------

sklearn/svm/_classes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def fit(self, X, y, sample_weight=None):
213213
samples. If not provided,
214214
then each sample is given unit weight.
215215
216-
..versionadded:: 0.18
216+
.. versionadded:: 0.18
217217
218218
Returns
219219
-------
@@ -400,7 +400,7 @@ def fit(self, X, y, sample_weight=None):
400400
samples. If not provided,
401401
then each sample is given unit weight.
402402
403-
..versionadded:: 0.18
403+
.. versionadded:: 0.18
404404
405405
Returns
406406
-------

0 commit comments

Comments
 (0)
0