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
Hirofumi Suzuki
c95ed757b4
DOC add explanation of n_jobs in sklearn/model_selection/_validation.py ( #17717 )
2020-06-25 14:25:16 +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
Zaccharie Ramzi
d42611f11b
DOC Emphasized determinism of ParameterGrid in docs ( #17383 )
2020-05-31 21:26:50 -04: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
barberogaston
26b26789a6
DOC Fix RandomizedSearchCV's docstring by changing the cv_results_ data ( #17275 )
2020-05-20 14:11:46 +02:00
Hugo Le Moine
8abe0a822e
MNT Replaced kwargs by named args for train_test_split ( #17216 )
2020-05-14 09:21:01 -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
Nicolas Hug
ad6fc80425
DOC fix indentation in cv parameter description ( #17161 )
2020-05-08 16:03:43 -04:00
brigi
dbc35934a6
DOC Version added and changed labels added for v0.18 (#wimlds) ( #16222 )
...
* Versionlabels added to v0.18 (#wimlds)
* documentation issues: label changed and added for version 0.18
* fix intends and shorten description
Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
2020-04-27 18:43:47 -04:00
Ekaterina Borovikova
4755ae76d2
DOC Add versionchanged and versionadded for v0.20 ( #16199 )
...
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -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
Nicolas Hug
2587a03380
[MRG] DOC fix ref for ParameterSampler ( #16983 )
2020-04-24 10:28:56 -04:00
Stephen Marsh
361bf75544
DOC Fix link to user guide ( #16989 )
2020-04-24 09:25:39 -04:00
Noa Tamir
5e2d74bc5f
DOC add versionadded versionchanged v0.19 ( #16233 )
...
* added v0.19.1 and wip v0.19
* finished adding vchanged strings for v0.19
Towards #15426
@adrinjalali #wimlds #scikitlearnsprint
* fixing linter issues
* caught line issues with flake8
* caught the last line issue
* added lines and cleaned gtiignore
* Update sklearn/multiclass.py
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
* Update sklearn/multiclass.py
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-15 10:36:51 +02:00
Michael Shoemaker
f31e25bbb5
ENH Better error message needed when accidentall… ( #16861 )
2020-04-10 14:32:24 -04:00
Roman Yurchak
5a4340834d
Fix mypy errors ( #16726 )
2020-03-30 15:41:05 +02: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
Edward Qian
0904058399
DOC improve random state docstring in model_selection/split ( #15575 )
2020-02-11 18:17:49 +01:00
stareh
daec09e6b4
DOC added the link for the reference in permutation_test_score ( #16202 )
...
* added the link for an open pdf of the article
* Address comment
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-02-03 13:59:27 +01:00
Marielle
d67647fcac
DOC improve docstring following doc guideline in model_selection module ( #16207 )
2020-01-27 22:27:54 +01:00
rachelcjordan
5c9957764a
DOC improve random state docstring in the _validation module ( #16231 )
2020-01-26 20:29:11 +01:00
indecisiveuser
f6a19a7e8d
DOC Format docstrings in validation module ( #16134 )
2020-01-22 06:22:57 -05:00
Qizhi Jiang
e3ee768a0c
DOC Docstring improvements to confusion_matrix and splitters ( #16072 )
2020-01-11 18:42:10 +01:00
Madhura Jayaratne
1c422ca736
DOC Update docs to indicate shuffle=True still maintains sample order within each split ( #16085 )
2020-01-10 14:03:58 +11:00
Michał Słapek
54c6739f8e
DOC replace best_parameters_ with best_params_ in SearchCV docstring ( #16005 )
2020-01-03 11:47:05 +01: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
Reshama Shaikh
cc8d2d26b8
DOC add versionadded directive to some estimators ( #15849 )
2019-12-19 14:07:03 +01: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
Hanmin Qin
64750e561b
DOC correct indents in docstring _split.py ( #15843 )
2019-12-10 14:46:57 +01:00
Nicolas Hug
4256542b10
MNT Removed deprecated attributes and parameters ( #15803 )
2019-12-09 22:17:06 +08:00
Brian Wignall
c4733f4895
MNT Fix some easy-to-make typos ( #15720 )
2019-11-26 06:31:40 -06:00
xun-tang
3ef8357cc0
FIX add pairwise property to basesearchcv ( #15524 )
2019-11-11 08:58:24 +11:00
Natasha Borders
3ca653af12
DOC adding versionadded labels to several estimators ( #15476 )
2019-11-04 18:25:24 +11:00
edvardlindelof
51edab8201
DOC clarify StratifiedShuffleSplit supports 2d y ( #15456 )
2019-11-02 15:31:40 -04: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