Commit Graph

40 Commits

Author SHA1 Message Date
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
Olivier Grisel 40e6c43cb4
Joblib 0.12.2 (#11741)
* joblib 0.12.2

* Export _joblib's register_parallel_backend

* Use latest version of coverage
2018-08-03 12:34:25 +02:00
ZJ Poh adddf00433 [MRG] np.ones -> np.full (#11628) 2018-07-23 09:49:01 +02:00
Andreas Mueller 1c41368bac [MRG+1] Uncontroversial fixes from estimator tags branch (#8086)
* some bug fixes.

* minor fixes to whatsnew

* typo in whatsnew

* add test for n_components = 1 transform in dict learning

* feature extraction doc fix

* fix broken test

* revert aggressive input validation changes

* in SelectFromModel, don't store threshold_ in transform. If we called "fit", use estimates from last "fit".

* move score from EllipticEnvelope to OutlierDetectionMixin

* revert changes to Tfidf documentation

* remove dummy input validation from whatsnew

* fix text feature tests

* rewrite from_model threshold again...

* remove stray condition

* fix self.estimator -> estimator, slightly more interesting test

* typo in comment

* Fix issues in SparseEncoder, add tests.
more explicit explanation of SparseEncoder change, add issue numbers to whatsnew

* minor fixes in whats_new.rst

* slightly more consistency with tuples for shapes

* not longer typo
2017-06-06 16:34:47 +02:00
Guillaume Lemaitre e3c9ae204f [MRG+1] DOC improve description and consistency of random_state (#8689)
* DOC improve description of random_state in train_test_split

* DOC Make random_state consistent through documentation

* FIX reverse doc mistake

* FIX address comment of Tom

* DOC address comments

* DOC remove empty line

* DOC remove unecessary white spaces
2017-04-05 17:43:21 -07:00
Loïc Estève e542efafe2 TST Ensure that attributes ending _ are not set in __init__ (#7464) 2016-12-12 21:57:43 +11:00
Fabian Egli 53e6381272 [MRG+1] Throw an error with explicit message if n_estimators is not an integer. (#7457)
* Throw an error with explicit message if n_estimators is not an integer.

* Testing for explicit message if n_estimators is not an integer.

* Fixed typo in test for explicit message if n_estimators is an integer.

* Added tests for np.int32 and float input.

* pep8 compliance

* fix function name

* Import numpy to test n_estimators suplied as numpy int32.
2016-10-14 15:58:41 -04:00
Joel Nothman 32d1236f4a [MRG+2] FIX adaboost estimators not randomising correctly (#7411)
* FIX adaboost estimators not randomising correctly

(fixes #7408)

FIX ensure nested random_state is set in ensembles

* DOC add what's new

* Only affect *__random_state, not *_random_state for now

* TST More informative assertions for ensemble tests

* More specific testing of different random_states
2016-09-23 17:00:32 +10:00
Tim Head 7c425abcd6 base_estimator_ attribute is a single estimator not a list 2016-01-04 18:37:56 +01:00
Mateusz Susik 6ffc68556f FIX Support for negative values of n_jobs 2015-01-21 12:58:31 +01:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Laurent Direr db5be98070 Changed _partition_estimators signature to make it compatible with warm start. 2014-07-25 13:53:23 +02:00
Laurent Direr 4113dfe12d Added a parameter check on n_estimators in BaseEnsemble to raise error if it is not strictly positive. 2014-07-18 19:26:33 +02:00
Gilles Louppe 5183828bfd DOC: base_estimator_ + estimators_ in ensemble.base 2013-09-11 13:51:12 +02:00
Gilles Louppe cc7407654b ENH: move _partition_estimators to ensemble.base 2013-09-11 13:51:12 +02:00
Gilles Louppe 74d395215b ENH bagging meta-estimator 2013-09-11 13:51:09 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Gilles Louppe 9fe2e93550 Checkout files from ndawe:treeweights 2013-01-08 23:28:14 +01:00
Andreas Mueller b91f5c03a8 FIX i should trust my past self a bit more 2012-12-24 15:42:58 +01:00
Andreas Mueller cc63e1cbb4 ENH slight improvement of common tests. 2012-12-24 14:58:56 +01:00
Andreas Mueller 92138a4258 COSMIT pep8 2012-11-10 14:02:29 +00:00
Richard T. Guy e0fdf95f26 move tuple back into arguments 2012-11-08 09:50:32 +01:00
Richard T. Guy c65c35cc07 Switched default parameter to tuple from lists. 2012-11-08 09:50:32 +01:00
Richard T. Guy 668979d7a1 Added test 2012-11-08 09:50:32 +01:00
Andreas Mueller 04d81608a1 ENH Add MetaEstimatorMixin, make RFE default constructible 2012-06-26 14:16:03 +02:00
Andreas Mueller 86cedafa08 ENH make all Estimators default constructible (except SparseCoder) 2012-06-26 14:16:03 +02:00
Gilles Louppe ae564d7c8f DOC: Added missing BSD3 licenses 2011-12-30 20:39:18 +01:00
Gilles Louppe 621417e96c ENH: Parallel fit/predict/predic_proba/feature_importances in forest 2011-12-20 12:42:36 +01:00
Peter Prettenhofer e0b78b965f don't use dict comprehensions (support python 2.5 and 2.6). 2011-11-23 22:26:18 +01:00
Gilles Louppe f6d7344279 ENH: Address @agramfort comments 2011-11-23 09:38:27 +01:00
Gilles Louppe 3ffbe9c085 DOC: Added warning in make_estimator 2011-11-21 20:32:30 +01:00
Gilles Louppe d7f41e484a ENH: Use trailing _ for private attributes 2011-11-21 20:06:25 +01:00
Gilles Louppe 306985a0a5 ENH: Simplified RandomForest and ExtraTrees API 2011-11-21 15:16:38 +01:00
Gilles Louppe 5bf4b8cefe TEST: Added tests of BaseEnsemble 2011-11-16 19:35:57 +01:00
Gilles Louppe 95c159e5ac PEP8 2011-11-16 19:21:07 +01:00
Gilles Louppe f117f316ff FIX: Don't clone estimators at instantiation 2011-11-16 12:59:06 +01:00
Gilles Louppe a06504bf25 ENH: Make the Forest's API coherent with BaseEnsemble's API 2011-11-16 11:43:04 +01:00
Gilles Louppe 8de628e862 ENH: Make forest derive from BaseEnsemble 2011-11-16 10:47:11 +01:00
Gilles Louppe 7bd3f88ff1 Rebase of @bdholt1's ensemble branch 2011-11-12 11:29:38 +01:00