Juan Carlos Alfaro Jiménez
0e33229351
FIX Extract estimator objects before aggregating dict of scores ( #17745 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-26 21:15:41 -04:00
Thomas J. Fan
67bf1e78f5
ENH _fit_and_score now returns a dictionary ( #17332 )
...
* ENH _fit_and_score now returns a dictionary
* MRG
* REV
* LOL
* Removing things in gitignore is fun
2020-06-26 12:38:12 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Koki Nishihara
e02e1bf7cb
FIX: Remove checks for old Scipy versions ( #17685 )
2020-06-24 10:02:15 +02:00
Chiara Marmo
fc0d2c3210
[MRG] ENH Show split/candidate ids in verbose output of SearchCV ( #16935 )
2020-06-19 11:26:58 +02:00
Teon L Brooks
5d04910476
ENH add score_samples method in base search CV ( #17478 )
...
* add score_samples method in base search CV and add tests
* add tests and change implem
* fix pep8
* address some pr comments
* Update test_search.py
remove deprecation warnings
* address some linting issues
* Update test_search.py
* update whats_new
fix indenting
* update test_search.py
Co-authored-by: Mohamed Maskani <maskani.mohamed@gmail.com>
2020-06-08 18:14:12 +02:00
Benjamin Bossan
76df39f703
ENH allow to specify which methods should run a check in CheckingClassifier ( #15230 )
...
Co-authored-by: BenjaminBossan <b.bossan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-05-26 11:37:12 +02:00
Nicolas Hug
ac8cbb3799
[MRG] More deprecation for 0.24 ( #17142 )
...
* normalize_components in sparsePCA
* changed default strategy of Dummy to prior and removed outputs_2d ttribute
* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest
* remove support for drop=None in Voting
* removed some warning decorators
* remove feature_extraction.extract_patches
* removed VectorizerMixin and copy parameter from TFIDFVectorizer
* kernel.set_params now raises attributeerror
* removed fig from plot_partial_dependence
* removed iid parameter of search estimators
* removed brier_scorer
* raise error in split when shuffle is False and random_state is not None
* removed MultiOutputEstimator
* removed base classes of NaiveBayes
* removed drop from pipeline
* removed utils in random_projection
* removed presort and classes_ in trees
* flake8
* fixed some tests
* flake
* fixed docstring
* fixed other one
* some left
* mmmm
2020-05-20 16:04:14 -04:00
Kyle Kosic
b4e215c01c
FEA Additional `TimeSeriesSplit` Functionality ( #13204 )
...
Co-authored-by: Kyle Kosic <kylekosic@Kyles-MacBook-Pro.local>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-05-11 21:48:01 -04:00
Lucy Liu
c7a4bc9b3a
TST Replace Boston dataset in test_validation ( #17146 )
2020-05-08 17:53:15 -04:00
Adrin Jalali
02309ffbda
API kwonly args in manifold, metrics, mixture, model_selection, multclass, multioutput ( #16982 )
2020-04-24 17:24:24 -04:00
Michael Shoemaker
f31e25bbb5
ENH Better error message needed when accidentall… ( #16861 )
2020-04-10 14:32:24 -04:00
Roman Yurchak
75d3f29e72
MAINT Remove outdated numpy and scipy backports ( #16725 )
...
* Remove unecessary numpy & scipy backports
* More fixes
* Remove unused imports
2020-03-20 13:57:18 +01:00
Nicolas Hug
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
Arie Pratama Sutiono
c2e742c48c
API Deprecates the fit_grid_point function ( #16401 )
2020-02-13 22:07:06 -05:00
Adrin Jalali
46001e7cfb
FIX support scalar values in fit_params in SearchCV ( #15863 )
...
* support a scalar fit param
* pep8
* TST add test for desired behavior
* FIX introduce _check_fit_params to validate parameters
* DOC update whats new
* TST tests both grid-search and randomize-search
* PEP8
* DOC revert unecessary change
* TST add test for _check_fit_params
* olivier comments
* TST fixes
* DOC whats new
* DOC whats new
* TST revert type of error
* add olivier suggestions
* address olivier comments
* address thomas comments
* PEP8
* comments olivier
* TST fix test by passing X
* avoid to call twice tocsr
* add case column/row sparse in check_fit_param
* provide optional indices
* TST check content when indexing params
* PEP8
* TST update tests to check identity
* stupid fix
* use a distribution in RandomizedSearchCV
* MNT add lightgbm to one of the CI build
* move to another build
* do not install dependencies lightgbm
* MNT comments on the CI setup
* address some comments
* Test fit_params compat without dependency on lightgbm
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2019-12-31 13:02:45 +01:00
lkubin
88963f86fb
ENH Make cross_val_predict support method="predict_proba" and y=None ( #15918 )
2019-12-24 09:34:49 +11:00
scibol
3a5aced32b
TST Fixes integer test for train and test indices ( #15941 )
2019-12-20 12:43:30 -05:00
Gregory Morse
a05a5bc2b3
ENH Yield stack trace information in resilient mode model_selection warnings ( #15622 )
2019-12-14 15:32:59 -05:00
Hanmin Qin
6c582888ab
TST Specify random_state in test_cv_iterable_wrapper ( #15829 )
2019-12-11 18:33:53 +08:00
Nicolas Hug
4256542b10
MNT Removed deprecated attributes and parameters ( #15803 )
2019-12-09 22:17:06 +08:00
xun-tang
3ef8357cc0
FIX add pairwise property to basesearchcv ( #15524 )
2019-11-11 08:58:24 +11:00
Andreas Mueller
3d606cf8ba
FIX clone parameters in gridsearch etc ( #15096 )
...
* clone estimator again after setting parameters
* add more tests
* add some comments
* more tests
* don't clone estimators, just clone parameters
2019-10-29 15:42:14 +01:00
Nicolas Hug
19ad136223
MNT Replace DeprecationWarning with FutureWarning ( #15080 )
...
* bruteforce renaming
* WIP
* WIP
* some more
* removed weird line
* update -Werror
* testiforest
* again
* Fixed some tests
* fixed some tests
* removed -Werror
* fixed test_docstring_param issue
* fixed some tests
* some more
* renamed to SklearnDeprecationWarning
* pep8
* updated docs
* pep8
* merge
* changed to FutureWarning
* fixes
* Update doc/developers/tips.rst
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
* avoid duplicates
* fixed warning for deprecations
* Still make CI break if DeprecationWarning isn't caught
* updated one warning
* fixed test
* fixed some renamings
* updated new dep warnings
* fixed bad import
* ignore warnings
* update again
* ignore futurewarning when walking packages
* Fixed test
* pep8
* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug
b92455a6b2
MAINT Deprecate all of utils.testing except all_estimators ( #15367 )
2019-10-28 17:28:56 +01:00
Andreas Mueller
a91bae74aa
MNT Add estimator check for not calling __array_function__ ( #14702 )
2019-10-24 16:42:10 -04:00
Nicolas Hug
7effc37174
MNT Warn when shuffle is False but random_state is not None ( #15353 )
2019-10-24 16:33:12 -04:00
Anders Kaseorg
0fbb15f2ac
MNT Python 3.8 SyntaxWarning: "is not" with a literal ( #15349 )
2019-10-24 11:09:18 +08:00
Nicolas Hug
bcd399f4cb
FIX Fixed some imports after deprecations ( #15345 )
2019-10-23 16:59:52 +02:00
Thomas J Fan
dba753a200
API Auto generates deprecation for sklearn.utils.mocking ( #15071 )
2019-10-03 00:09:28 +10:00
Adrin Jalali
186629b60a
MNT Deprecate {n_}classes_ attribute for tree regressors ( #15028 )
2019-09-20 07:27:21 -04:00
DrGFreeman
ca9ceba558
FIX implement repr for RepeatedKFold and RepeatedStratifiedKFold ( #14983 )
2019-09-16 13:58:02 +02:00
Andreas Mueller
a6103d3faf
MAINT remove inheriting from object ( #14891 )
2019-09-05 14:41:29 -04:00
Joel Nothman
3de368d405
FIX reimplement StratifiedKFold to avoid variation in test size ( #14704 )
2019-08-24 20:48:05 +08:00
Allen Akinkunle
01d8e70af0
MNT Use return_X_y=True with load_boston where appropriate ( #14678 )
2019-08-20 10:08:23 +08:00
Andreas Mueller
98e1c0f8e2
ENH add support for lists of dictionaries to RandomizedSearchCV ( #14549 )
2019-08-07 08:23:22 +10:00
Harsh Mahajan
38fd24ac1e
EXA Remove redundant tol parameter for SGDClassifier ( #14556 )
2019-08-02 14:04:10 -04:00
Adrin Jalali
19c068a2ec
MNT towards removing assert_equal, etc ( #14222 )
2019-07-01 09:13:32 -04:00
Roman Yurchak
5674122c97
MAINT More test runtime optimizations ( #14136 )
...
* Feature extraction / feature selection
* Metrics, manifold, impute, GP optimization
* Optimize mixture
* Optimize model_selection
* Fix tests
* Lint
2019-06-22 10:44:06 +03:00
H4dr1en
b28aadf6ef
Added fit and score times for learning_curve ( #13938 )
2019-06-14 14:34:26 -04:00
Roman Yurchak
ccd3331f7e
MNT remove unused imports ( #14021 )
2019-06-04 23:15:19 +10:00
Guillaume Lemaitre
9adba491a2
[MRG] DEP change the default of cv and n_splits ( #13839 )
2019-05-29 23:39:20 +10:00
Oleksandr Pavlyk
7ea7284f22
MAINT: use explicit value of n_jobs to avoid hangs on Windows ( #13970 )
2019-05-29 09:53:48 +10:00
Guillaume Lemaitre
c28ef9ef2a
DEP change the default of multi_class to 'auto' in logistic regression ( #13807 )
2019-05-22 09:57:15 -04:00
Stéphane Couvreur
0bfa52dad7
DEP Change default of error_score in cross-validation ( #13840 )
2019-05-22 09:28:45 +10:00
Guillaume Lemaitre
69eb4d4678
[MRG] DEP change default and deprecate iid in SearchCV ( #13834 )
2019-05-09 14:26:05 +02:00
Guillaume Lemaitre
7896b21562
MNT change default of solver in LogisiticRegression ( #13805 )
2019-05-08 21:31:39 +08:00
Guillaume Lemaitre
28480f4cb2
DEP change the default of gamma in SVM ( #13801 )
2019-05-07 16:12:49 +02:00
Joel Nothman
cc0179a539
TST use approximate equality for float comparison ( #13749 )
2019-05-01 00:28:51 +10:00