Skip to content

Commit 715049b

Browse files
committed
Rebuild dev docs at master=36acda2
1 parent a8f1f71 commit 715049b

File tree

228 files changed

+1647
-1472
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+1647
-1472
lines changed

dev/_sources/whats_new.txt

Lines changed: 103 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,11 @@ Enhancements
170170
- Added a ``fit_predict`` method for :class:`mixture.GMM` and subclasses.
171171
By `Cory Lorenz`_.
172172

173-
- Added the :func:`metrics.label_ranking_loss` metrics.
173+
- Added the :func:`metrics.label_ranking_loss` metric.
174174
By `Arnaud Joly`_.
175175

176+
- Added the :func:`metrics.cohen_kappa_score` metric.
177+
176178
- Added a ``warm_start`` constructor parameter to the bagging ensemble
177179
models to increase the size of the ensemble. By
178180
`Tim Head`_.
@@ -227,6 +229,10 @@ Enhancements
227229
- RCV1 dataset loader (:func:`sklearn.datasets.fetch_rcv1`).
228230
By `Tom Dupre la Tour`_.
229231

232+
- The "Wisconsin Breast Cancer" classical two-class classification dataset
233+
is now included in scikit-learn, available with
234+
:fun:`sklearn.dataset.load_breast_cancer`.
235+
230236
- Upgraded to joblib 0.9.3 to benefit from the new automatic batching of
231237
short tasks. This makes it possible for scikit-learn to benefit from
232238
parallelism when many very short tasks are executed in parallel, for
@@ -306,6 +312,27 @@ Enhancements
306312

307313
- Added :func:`metrics.pairwise.laplacian_kernel`. By `Clyde Fare <https://github.com/Clyde-fare>`_.
308314

315+
- :class:`covariance.GraphLasso` allows separate control of the convergence criterion
316+
for the Elastic-Net subproblem via the ``enet_tol`` parameter.
317+
318+
- Improved verbosity in :class:`decomposition.DictinaryLearning`.
319+
320+
- :class:`ensemble.RandomForestClassifier` and
321+
:class:`ensemble.RandomForestRegressor` no longer explicitly store the
322+
samples used in bagging, resulting in a much reduced memory footprint for
323+
storing random forest models.
324+
325+
- Added ``positive`` option to :class:`linear_model.Lars` and
326+
:func:`linear_model.lars_path` to force coefficients to be positive.
327+
(`#5131 <https://github.com/scikit-learn/scikit-learn/pull/5131>`)
328+
329+
- Added the ``X_norm_squared`` parameter to :func:`metrics.pairwise.euclidean_distances`
330+
to provide precomputed squared norms for ``X``.
331+
332+
- Added the ``fit_predict`` method to :class:`pipeline.Pipeline`.
333+
334+
- Added the :func:`preprocessing.min_max_scale` function.
335+
309336
Bug fixes
310337
.........
311338
- Fixed non-determinism in :class:`dummy.DummyClassifier` with sparse
@@ -368,6 +395,33 @@ Bug fixes
368395
platform dependent output, and failed on `fit_transform`.
369396
By `Arthur Mensch`_.
370397

398+
- Fixes to the ``Bunch`` class used to store datasets.
399+
400+
- Fixed :func:`ensemble.plot_partial_dependence` ignoring the
401+
``percentiles`` parameter.
402+
403+
- Providing a ``dict`` as vocabulary in ``CountVectorizer`` no longer
404+
leads to inconsistent results when pickling.
405+
406+
- Fixed the conditions on when a precomputed Gram matrix needs to
407+
be recomputed in :class:`linear_model.LinearRegression`,
408+
:class:`linear_model.OrthogonalMatchingPursuit`,
409+
:class:`linear_model.Lasso` and :class:`linear_model.ElasticNet`.
410+
411+
- Fixed inconsistent memory layout in the coordinate descent solver
412+
that affected :class:`linear_model.DictionaryLearning` and
413+
:class:`covariance.GraphLasso`. (`#5337 <https://github.com/scikit-learn/scikit-learn/pull/5337>`)
414+
By `Oliver Grisel`_.
415+
416+
- :class:`manifold.LocallyLinearEmbedding` no longer ignores the ``reg``
417+
parameter.
418+
419+
- Nearest Neighbor estimators with custom distance metrics can now be pickled.
420+
(`4362 <https://github.com/scikit-learn/scikit-learn/pull/4362>`)
421+
422+
- Fixed a bug in :class:`pipeline.FeatureUnion` where ``transformer_weights``
423+
were not properly handled when performing grid-searches.
424+
371425
- Fixed a bug in :class:`linear_model.LogisticRegression` and
372426
:class:`linear_model.LogisticRegressionCV` when using
373427
``class_weight='balanced'```or ``class_weight='auto'``.
@@ -414,6 +468,54 @@ API changes summary
414468
features (according to `coefs_` or `feature_importances_`)
415469
which are below a certain threshold value instead.
416470

471+
- :class:`cluster.KMeans` re-runs cluster-assignments in case of non-convergence,
472+
to ensure consistency of ``predict(X)`` and ``labels_``. By `Vighnesh Birodkar`_.
473+
474+
- Classifier and Regressor models are now tagged as such using the
475+
``_estimator_type`` attribute.
476+
477+
- Cross-validation iterators allways provide indices into training and test set,
478+
not boolean masks.
479+
480+
- The ``decision_function`` on all regressors was deprecated and will be
481+
removed in 0.19. Use ``predict`` instead.
482+
483+
- :func:`datasets.load_lfw_pairs` is deprecated and will be removed in 0.19.
484+
Use :func:`datasets.fetch_lfw_pairs` instead.
485+
486+
- The deprecated ``hmm`` module was removed.
487+
488+
- The deprecated ``Bootstrap`` cross-validation iterator was removed.
489+
490+
- The deprecated ``Ward`` and ``WardAgglomerative`` classes have been removed.
491+
Use :class:`clustering.AgglomerativeClustering` instead.
492+
493+
- :func:`cross_validation.check_cv` is now a public function.
494+
495+
- The property ``residues_`` of :class:`linear_model.LinearRegression` is deprecated
496+
and will be removed in 0.19.
497+
498+
- The deprecated ``n_jobs`` parameter of :class:`linear_model.LinearRegression` has been moved
499+
to the constructor.
500+
501+
- Removed deprecated ``class_weight`` parameter from :class:`linear_model.SGDClassifier`'s ``fit``
502+
method. Use the construction parameter instead.
503+
504+
- The deprecated support for the sequence of sequences (or list of lists) multilabel
505+
format was removed. To convert to and from the supported binary
506+
indicator matrix format, use
507+
:class:`MultiLabelBinarizer <preprocessing.MultiLabelBinarizer>`.
508+
509+
- The behavior of calling the ``inverse_transform`` method of ``Pipeline.pipeline`` will
510+
change in 0.19. It will no longer reshape one-dimensional input to two-dimensional input.
511+
512+
- The deprecated attributes ``indicator_matrix_``, ``multilabel_`` and ``classes_`` of
513+
:class:`preprocessing.LabelBinarizer` were removed.
514+
515+
- Using ``gamma=0`` in :class:`svm.SVC` and :class:`svm.SVR` to automatically set the
516+
gamma to ``1. / n_features`` is deprecated and will be removed in 0.19.
517+
Use ``gamma="auto"`` instead.
518+
417519
.. _changes_0_1_16:
418520

419521
Version 0.16.1

dev/modules/generated/sklearn.base.BaseEstimator.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
<h1><a class="reference internal" href="../classes.html#module-sklearn.base" title="sklearn.base"><tt class="xref py py-mod docutils literal"><span class="pre">sklearn.base</span></tt></a>.BaseEstimator<a class="headerlink" href="#sklearn-base-baseestimator" title="Permalink to this headline"></a></h1>
173173
<dl class="class">
174174
<dt id="sklearn.base.BaseEstimator">
175-
<em class="property">class </em><tt class="descclassname">sklearn.base.</tt><tt class="descname">BaseEstimator</tt><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/22fc441/sklearn/base.py#L169"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.BaseEstimator" title="Permalink to this definition"></a></dt>
175+
<em class="property">class </em><tt class="descclassname">sklearn.base.</tt><tt class="descname">BaseEstimator</tt><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/36acda2/sklearn/base.py#L169"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.BaseEstimator" title="Permalink to this definition"></a></dt>
176176
<dd><p>Base class for all estimators in scikit-learn</p>
177177
<p class="rubric">Notes</p>
178178
<p>All estimators should specify all the parameters that can be set
@@ -201,7 +201,7 @@ <h1><a class="reference internal" href="../classes.html#module-sklearn.base" tit
201201

202202
<dl class="method">
203203
<dt id="sklearn.base.BaseEstimator.get_params">
204-
<tt class="descname">get_params</tt><big>(</big><em>deep=True</em><big>)</big><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/22fc441/sklearn/base.py#L206"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.BaseEstimator.get_params" title="Permalink to this definition"></a></dt>
204+
<tt class="descname">get_params</tt><big>(</big><em>deep=True</em><big>)</big><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/36acda2/sklearn/base.py#L206"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.BaseEstimator.get_params" title="Permalink to this definition"></a></dt>
205205
<dd><p>Get parameters for this estimator.</p>
206206
<table class="docutils field-list" frame="void" rules="none">
207207
<col class="field-name" />
@@ -226,7 +226,7 @@ <h1><a class="reference internal" href="../classes.html#module-sklearn.base" tit
226226

227227
<dl class="method">
228228
<dt id="sklearn.base.BaseEstimator.set_params">
229-
<tt class="descname">set_params</tt><big>(</big><em>**params</em><big>)</big><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/22fc441/sklearn/base.py#L243"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.BaseEstimator.set_params" title="Permalink to this definition"></a></dt>
229+
<tt class="descname">set_params</tt><big>(</big><em>**params</em><big>)</big><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/36acda2/sklearn/base.py#L243"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.BaseEstimator.set_params" title="Permalink to this definition"></a></dt>
230230
<dd><p>Set the parameters of this estimator.</p>
231231
<p>The method works on simple estimators as well as on nested objects
232232
(such as pipelines). The former have parameters of the form

dev/modules/generated/sklearn.base.TransformerMixin.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
<h1><a class="reference internal" href="../classes.html#module-sklearn.base" title="sklearn.base"><tt class="xref py py-mod docutils literal"><span class="pre">sklearn.base</span></tt></a>.TransformerMixin<a class="headerlink" href="#sklearn-base-transformermixin" title="Permalink to this headline"></a></h1>
173173
<dl class="class">
174174
<dt id="sklearn.base.TransformerMixin">
175-
<em class="property">class </em><tt class="descclassname">sklearn.base.</tt><tt class="descname">TransformerMixin</tt><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/22fc441/sklearn/base.py#L435"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.TransformerMixin" title="Permalink to this definition"></a></dt>
175+
<em class="property">class </em><tt class="descclassname">sklearn.base.</tt><tt class="descname">TransformerMixin</tt><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/36acda2/sklearn/base.py#L435"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.TransformerMixin" title="Permalink to this definition"></a></dt>
176176
<dd><p>Mixin class for all transformers in scikit-learn.</p>
177177
<p class="rubric">Methods</p>
178178
<table border="1" class="longtable docutils">
@@ -194,7 +194,7 @@ <h1><a class="reference internal" href="../classes.html#module-sklearn.base" tit
194194

195195
<dl class="method">
196196
<dt id="sklearn.base.TransformerMixin.fit_transform">
197-
<tt class="descname">fit_transform</tt><big>(</big><em>X</em>, <em>y=None</em>, <em>**fit_params</em><big>)</big><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/22fc441/sklearn/base.py#L438"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.TransformerMixin.fit_transform" title="Permalink to this definition"></a></dt>
197+
<tt class="descname">fit_transform</tt><big>(</big><em>X</em>, <em>y=None</em>, <em>**fit_params</em><big>)</big><a class="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/36acda2/sklearn/base.py#L438"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sklearn.base.TransformerMixin.fit_transform" title="Permalink to this definition"></a></dt>
198198
<dd><p>Fit to data, then transform it.</p>
199199
<p>Fits transformer to X and y with optional parameters fit_params
200200
and returns a transformed version of X.</p>

0 commit comments

Comments
 (0)