Commit Graph

160 Commits

Author SHA1 Message Date
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
Peter Prettenhofer e7a2c2e000 narrative documentation on controlling tree size - might be relevant for weighted boosting and CART as well. 2013-11-22 19:56:12 +01:00
Peter Prettenhofer 098f630d70 GBRT enhancements:
Moved verbose output code to VerboseReporter class.
  Cosmit: logical structured code blocks
  Refactored: moved init state to method
  Added partial_fit to GradientBoosting
  Fix: is_classification not available; n_features not n_features_
  Tests
  Add ``partial_fit`` to docs
2013-11-01 21:23:02 +02:00
Olivier Grisel be71b38292 FIX: broken doctest impacted by stratified CV and tree RNG changes combined... 2013-09-25 16:07:54 +02:00
Gilles Louppe 74d395215b ENH bagging meta-estimator 2013-09-11 13:51:09 +02:00
Andreas Mueller 26eb3c606f DOC/EXAMPLES fix more documentation errors, deprecated api usages. 2013-07-28 15:01:48 +02:00
Andreas Mueller 8dd37abd33 DOC fixing some sphinx stuff. 2013-07-27 18:16:46 +02:00
Peter Prettenhofer 4872496c27 doc: hedge the use of OOB estimates 2013-07-25 12:44:50 +02:00
Peter Prettenhofer b5c055b2d6 more narrative documentation for oob in gbrt 2013-07-24 11:17:33 +02:00
Peter Prettenhofer 08d795adff rephrased max_features doc 2013-07-24 11:17:33 +02:00
Peter Prettenhofer 898dbc732c cosmit: better links and a note on efficiency using max_features 2013-07-24 11:17:32 +02:00
Peter Prettenhofer 04e8d2befd narrative documentation for oob improvement. 2013-07-24 11:17:32 +02:00
Gilles Louppe a42701e62f FIX: one more doctest 2013-07-22 12:20:02 +02:00
Gilles Louppe 79953a04d6 WIP: updated documentation 2013-07-22 12:19:59 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Lars Buitinck 6224c4ffad DOC describe API, not internals, for AdaBoost 2013-04-26 10:40:52 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Gilles Louppe 4fb6c88478 DOC: narrative documentation on feature importances 2013-02-08 08:41:20 +01:00
Noel Dawe be2394a219 DOC: notes about examples and minor edits 2013-02-03 21:36:36 +01:00
Noel Dawe 41f3f39313 minor edits in docs 2013-02-03 19:58:30 +01:00
Gilles Louppe 8ecc50458e FIX: some of Gael comments 2013-02-03 18:45:33 +01:00
Gilles Louppe 79f606f534 FIX: doctest 2013-02-03 13:45:10 +01:00
Noel Dawe 5e49c133e7 fix failing doctest 2013-02-03 04:10:12 +01:00
Gilles Louppe 2eeb724628 DOC: narrative documentation 2013-02-01 10:00:56 +01:00