Commit Graph

208 Commits

Author SHA1 Message Date
Raghav R V e3afc0e8c9 MAINT move custom error/warning classes into sklearn.exceptions
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Andreas Mueller 8e5b3753de DOC trying to make GridSearchCV docs more accurate... not sure if better 2015-10-12 15:58:38 -04:00
Raghav R V 882c346abd DOC Make cv documentation consistent across our codebase 2015-09-10 09:15:13 +05:30
Christophe Bourguignat e2f3aab483 DOC Updated documentation for cv parameter
Fix issue #4533
2015-08-29 21:34:30 +02:00
Joel Nothman febefb0894 FIX avoid memory cost when sampling from large parameter grids 2015-06-25 08:10:31 +10:00
Christophe Bourguignat 2928c50fad DOC document missing attributes 2015-06-13 00:12:18 +02:00
Raghav R V 62325cbb58 MAINT merge _check_cv into check_cv as indices argument is removed in 0.17 2015-06-08 16:37:03 +05:30
Lars Buitinck 567a956338 Merge branch 'pr/4714' + pep8 fixes
Conflicts:
	doc/modules/model_persistence.rst
	doc/modules/pipeline.rst
	doc/modules/svm.rst
	doc/tutorial/basic/tutorial.rst
	doc/tutorial/statistical_inference/supervised_learning.rst
	sklearn/svm/classes.py
2015-06-08 11:31:51 +02:00
Andreas Mueller 6d4bcda876 ENH refactor OVO decision function, use it in SVC for sklearn-like decision_function shape 2015-06-05 13:14:45 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
trevorstephens 0e5226b3d7 unused params in gridsearchcv 2015-05-23 12:14:11 -07:00
Maxim Kolganov 0a4b85b1cb replace itertools.repeat with six.moves.range 2015-05-01 19:08:22 +03:00
Maxim Kolganov afeb7ee2c0 remove useless |samples| variable out of ParameterSampler.__iter__() 2015-05-01 18:06:40 +03:00
Andreas Mueller d89c215013 Add tags to classifiers and regressors to identify them as such. 2015-03-31 19:59:49 -04:00
Andreas Mueller 2e2eebf4ab Make ParameterSampler sample without replacement if all parameters are given as lists. 2015-01-15 10:55:31 -05:00
Andreas Mueller da8f6728af Say best_estimator_ depends on refit=True. Fixes #2976. 2015-01-09 16:04:46 -05:00
Andreas Mueller 41e2c10a9e rename decorator 2014-12-19 17:27:27 -05:00
Andreas Mueller a1510a14c9 fix docstrings in sphinx 2014-12-19 15:47:10 -05:00
Andreas Mueller 86f4ee1fa4 don't give names to decorators 2014-12-18 17:49:46 -05:00
Joel Nothman 94f37f43fa FIX ducktyping for meta-estimators 2014-12-18 17:48:56 -05:00
Joel Nothman 0597c23e85 TST/FIX ensure correct ducktyping for metaestimators 2014-12-18 17:48:56 -05:00
Michal Romaniuk 58be184f5f Enable grid search with classifiers that may throw an error on individual fits. 2014-10-02 10:03:17 +10:00
Joel Nothman ba7e7a4ecf DOC a further tweak to BaseSearchCV.score docstring 2014-08-31 23:42:56 +10:00
Joel Nothman 224910dfa2 DOC tweak BaseSearchCV.score docstring notes 2014-08-31 22:31:37 +10:00
Joel Nothman 00c75859be FIX more intuitive behavior for *SearchCV.score 2014-08-20 23:09:22 +10:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Andreas Mueller b080d93b5e ENH don't convert dataframes in grid search and cross-validation 2014-07-18 10:02:14 +02:00
Arnaud Joly 8de00d857f Merge pull request #3411 from lesteve/scheduled-removal-from-0.15
[MRG] Remove deprecated parameters whose removal was scheduled for 0.15
2014-07-17 16:57:30 +02:00
lesteve b12d1ac487 Remove deprecated 'score_func' and 'loss_func' parameters from sklearn.metrics.scorer.check_scoring. Amend the code in all the other places they were used. 2014-07-17 13:53:06 +01:00
Andreas Mueller 3c7818e8cf ENH allow y to be a list in GridSearchCV, cross_val_score and train_test_split. 2014-07-16 10:59:57 +02:00
GaelVaroquaux d428606ce7 MISC: update comment in source 2014-05-23 14:37:46 +02:00
GaelVaroquaux f2766ec044 COSMIT: remove unused import 2014-05-23 14:22:29 +02:00
Yung Siang Liau 3f9dff942d FIX: Add allow_nans option to check_arrays
Grid search and cross validation should not panic when seeing NaNs
in the input arrays, because that breaks Imputer.
Fixes #2774 and #3044.
2014-04-13 16:59:52 +02:00
Lars Buitinck 0abe21eaac MAINT remove some deprecated stuff 2014-03-12 13:33:42 +01:00
Lars Buitinck c997cdee9f COSMIT pep8 + full stop police
metrics/tests/test_score_objects.py made stricter by replacing . with \.
in regular expressions.
2014-02-01 15:28:53 +01:00
Mathieu Blondel de2be61e46 Rename fit_and_score to _fit_and_score. 2014-01-16 12:43:17 +09:00
Alexander Fabisch b1dfa07ae2 Remove 'fit_grid_point' from 'BaseSearchCV' 2014-01-16 12:43:16 +09:00
Alexander Fabisch 7c60251d11 Fix PEP8, style and documentation 2014-01-16 12:43:16 +09:00
Alexander Fabisch f95219f05d Clean up 2014-01-16 12:43:16 +09:00
Alexander Fabisch 526d1dd945 check_scorable returns scorer 2014-01-16 12:43:16 +09:00
Alexander Fabisch 8d3667d3ae Log score and time in 'cross_val_score' 2014-01-16 12:43:16 +09:00
Alexander Fabisch 712d3d0d90 Move set_params back to fit_grid_point 2014-01-16 12:43:16 +09:00
Alexander Fabisch 50459faaf2 Return time 2014-01-16 12:43:16 +09:00
Alexander Fabisch 2bc3d49cfb Merge `fit_grid_point` into `_cross_val_score` 2014-01-16 12:43:16 +09:00
Alexander Fabisch 1d4d3f8153 Clean up 2014-01-16 12:43:15 +09:00
Alexander Fabisch 5d8b429f17 Refactor cv code 2014-01-16 12:43:15 +09:00
GaelVaroquaux 1d7a2d4dc9 COSMIT: remove unused import 2014-01-15 09:40:17 +01:00
Alexander Fabisch a876682444 Add learning curve 2014-01-08 23:29:30 +00:00
Erik Shilts 8be755385a DOC missing parts of docstrings
Added documentation for attributes of GridSearchCV, RidgeCV, and
LassoCV. Fixed typo in "dual_gaps" documentation.

Fixes #2693.
2013-12-28 01:38:27 +01:00