Commit Graph

183 Commits

Author SHA1 Message Date
Thomas Fan 7bc20c0e50 DOC Minor changes to DOCS to address sphinx warnings (#12999) 2019-01-17 17:49:31 +08:00
Thomas Fan e4b4834d0a DOC: Fixes link (#12996) 2019-01-17 13:15:19 +11:00
Nicolas Hug d4c9e849ba DOC minor clarifications in ensemble.rst (#11810) 2018-10-17 21:03:24 +11:00
Denis Kataev b020f62250 MNT Apply pep8 to docs code (#12275) 2018-10-05 22:51:42 +08:00
Joel Nothman 79f5d147ea MNT Revert the deprecation of min_samples_leaf and min_weight_fraction_leaf (#11998) 2018-09-08 16:43:21 +02:00
Joel Nothman 7ed61a24fe ENH add multi_class='auto' for LogisticRegression, default from 0.22; default solver will be 'lbfgs' (#11905)
* Change default solver in LogisticRegression
* This is an API change, not a feature
* Decrease numerical precision in LogisticRegression doctest
* ENH add multi_class='auto' for LR, default from 0.22
* No warning when binary
2018-08-26 23:00:02 +03:00
Joel Nothman 2fe58e517c Deprecate min_samples_leaf and min_weight_fraction_leaf (#11870) 2018-08-23 08:30:47 +03:00
Dillon Niederhut 99f4fea18b DOC clarify feature importance calculation (#11521) 2018-08-14 11:55:39 +10:00
Alexandre Boucaud f158e2dfe2 [MRG+1] Change CV defaults to 5 (#11557)
* add FutureWarning for methods with defaults=3

* add explicit cv values to fix assertion errors

* add tests for catching the FutureWarning

* Write current deprecation version

* Add deprecation in docstring

* change default cv value to None

* change cv from 3 to 5 in the examples

* upgrade doctests

* update doctest in tutorial

* update doctest in cross-validation doc

* fix tests

* add entry to whats new

* address Gael comments

* address Gael comments 2

* fix wrong indentation

* update doc

* add docstring deprecation warning in CV subclasses

* address Andy's comments

* fix PR number

* fix flake8

* add filterwarnings in tests

* fix doctests

* cv=None mendatory in Ridge

* fix warning related errors

* skip some doctests warnings

* make travis happy

* change from deprecated to versionchanged

* fix doctests and remove skipping

* address comments
2018-07-19 14:46:11 +02:00
Andreas Mueller 6ecb98eea3 doctest errors "fixed" by skipping 2018-07-17 18:08:42 -05:00
Gil Forsyth 08f04d9526 FIX Normalization of feature_importances_ in gradient boosting (#11176) 2018-06-22 08:24:08 +10:00
Loïc Estève 20661b5018
TST: only run doctests on numpy 1.14. (#10835)
Fix doctests due to numpy 1.14 formatting changes.
2018-03-27 07:44:40 +02:00
Gaurav Dhingra eed83790b0 ENH Change default gamma from 'auto' to 'scale' in SVC (#10331) 2018-03-10 10:39:21 +08:00
Kyeongpil Kang e0a29977cf [MRG+1] DOC fix sign in GBRT mathematical formulation (#9885) 2017-10-20 12:17:50 +02:00
diegodlh 88f529efa6 Fixed impossible min_samples_split value (#9520) 2017-08-11 15:38:52 -07:00
Joel Nothman f2f557d1ea DOC Use :class: for first VotingClassifier reference 2017-07-30 22:16:39 +10:00
Balakumaran Manoharan 04be1a9799 [MRG + 1] DOC Fix Sphinx errors (#9420)
* Fix Rouseeuw1984 broken link

* Change label vbgmm to bgmm
Previously modified with PR #6651

* Change tag name
Old refers to new tag added with PR #7388

* Remove prefix underscore to match tag

* Realign to fit 80 chars

* Link to metrics.rst.
pairwise metrics yet to be documented

* Remove tag as LSHForest is deprecated

* Remove all references to randomized_l1 and sphx_glr_auto_examples_linear_model_plot_sparse_recovery.py.
It is deprecated.

* Fix few Sphinx warnings

* Realign to 80 chars

* Changes based on PR review

* Remove unused ref in calibration

* Fix link ref in covariance.rst

* Fix linking issues

* Differentiate Rouseeuw1999 tag within file.

* Change all duplicate Rouseeuw1999 tags

* Remove numbers from tag Rousseeuw
2017-07-30 15:22:10 +10:00
Morikko 7f084b0896 [MRG+1] Add note about the size of default random forest model #6276 (#8437) 2017-02-24 07:56:14 +11:00
James Routley c0a04a30e5 Fixing typo (#7402) 2016-09-12 17:33:56 -04:00
Sebastián Vanrell d2c04c87d6 Doc minor fix ensemble.rst (#7186)
Remove repeated "at each"
2016-08-13 11:06:22 +02:00
Óscar Nájera bd5cecce44 update references link namespace 2016-08-03 20:23:50 +02:00
Óscar Nájera 04116ce286 update image sources namespace 2016-08-03 20:23:50 +02:00
Matheus bc8d088713 Small fix on ensemble.rst 2016-04-07 17:06:36 -03:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
YenChenLin 46fc1be145 Remove redundant words in sklearn 2016-02-23 16:54:03 +08:00
Greg Reda ebe3ff5404 fix math in soft VotingClassifier example 2016-02-09 09:57:43 -06:00
jeremynixon 29e7e39844 update ambiguous out of bag generalization terminology - from 'error' to 'accuracy' or 'the R^2...'. 2015-11-23 16:48:09 -08:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
yelite fea218e5cf In tree, min_samples_split and min_samples_leaf now accept float number as percentage. 2015-10-24 23:18:52 +02:00
Tim Head 89ec72ea2f Example to demonstrate use of tree.apply() method
This example trains several tree based ensemble methods and uses
them to transform the data into a high dimensional, sparse space.
The trains a linear model on this new feature space. The idea is
taken from:

Practical Lessons from Predicting Clicks on Ads at Facebook Junfeng Pan,
He Xinran, Ou Jin, Tianbing XU, Bo Liu, Tao Xu, Yanxin Shi, Antoine
Atallah, Ralf Herbrich, Stuart Bowers, Joaquin Quiñonero Candela
International Workshop on Data Mining for Online Advertising (ADKDD)

https://www.facebook.com/publications/329190253909587/
2015-08-11 20:38:07 +02:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller 8b386d84c8 DOC some fixes for the EnsembleClassifier 2015-05-18 16:05:22 -04:00
Gael Varoquaux ef94a2a671 Merge pull request #4665 from kianho/plot-ensemble-oob-trace
[MRG+1] Script for example ensemble OOB error plot. Fixes #4273
2015-05-08 11:36:44 +02:00
Gilles Louppe 6ac6ea3842 COSMIT: VotingClassifier 2015-05-08 10:10:47 +02:00
Kian Ho b6ce3226f7 Amended plot_ensemble_oob.py according to #4665.
@amueller provided feedback on improving my original PR (#4665) of the
plot_ensemble_oob.py script.

A number of major changes were made accordingly:

- Used `matplotlib.pyplot` instead of `pylab`.

- To improve the run-time to <10secs, I reduced the dimensionality of
  the sample dataset and set the max. number of estimators to 150.

- To avoid OOB warnings, the min. number of estimators was set to 15.
  Values <15 would still raise the warnings.

- The script is PEP8-compliant via the `pep8` command-line script. I
  needed to move `print(__doc__)` and author list comments.

- Re-added @amueller to the author list (had mistakenly been removed).

- Added a link to this example to the user-guide under the `Ensemble
  Methods` section.
2015-05-05 17:36:22 +10:00
rasbt 2910198f14 votingclassifier 2015-04-20 19:27:30 -04:00
rasbt 8d669069cb ensemble classifier 1st commit 2015-04-20 18:28:16 -04:00
Tim Head 88811be235 Mention oob_score in the narrative docs for Bagging* 2015-04-02 11:59:39 +02:00
Tim Head fd3c63065f Mention oob_score in narrative documentation of RandomForest* 2015-04-02 11:51:30 +02:00
Andreas Mueller 0c330827c5 DOC minor improvement in Ensemble user guide 2015-02-12 08:32:52 -05:00
Arnaud Joly c03c01a504 ENH Bring sparse input support to tree-based methods
Author:     Arnaud Joly <arnaud.v.joly@gmail.com>
            Fares Hedayati <fares.hedayati@gmail.com>
2014-11-06 13:58:28 +01:00
Peter Prettenhofer de11662b6a we can produce probabilistic outputs using exponential loss 2014-09-22 00:31:12 +02:00
Peter Prettenhofer ddc5123385 add exponential loss to narrative documentation 2014-09-17 12:14:26 +02:00
Olivier Grisel 2eb1e98eef MAINT ensure that examples figures are displayed in the correct order 2014-07-14 15:47:17 +02:00
eltermann b53b573c31 Replaced abbreviated 'w.r.t' to 'with regards to' 2014-02-05 12:59:07 -02:00
Bryan Lunt d83d65201e Fixed FS1995 citation. 2014-02-04 01:09:49 -08:00
Peter Prettenhofer 05d88c70bd GBRT subsection for warm_start 2014-01-08 14:49:57 +01:00
Peter Prettenhofer 2dde9a59c7 fix: warm_start demo in narrative documentation 2014-01-05 12:12:44 +01:00
Peter Prettenhofer 181c515993 moved fit_more to warm_start=True 2014-01-04 16:25:16 +01:00
Peter Prettenhofer f512bd82c9 renamed partial_fit -> fit_more for GBRT 2014-01-04 14:07:42 +01:00