Commit Graph

2995 Commits

Author SHA1 Message Date
Guillaume Lemaitre 69eb4d4678 [MRG] DEP change default and deprecate iid in SearchCV (#13834) 2019-05-09 14:26:05 +02:00
Stéphane Couvreur 7166ae8ece MNT Updated adjusted_mutual_info_score and normalized_mutual_info_score default to 'arithmetic' (#13814) 2019-05-09 10:35:32 +10:00
Joel Nothman 1675e77e3e
API Make IterativeImputer experimental (#13824) 2019-05-09 09:28:44 +10: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
Adrin Jalali 384c8ad3d3 ENH add a break_ties parameter to SVC and NuSVC (#12557) 2019-05-03 16:15:49 -04:00
Gael Varoquaux 068bcae2f5 DOC: fix class ref (#13766)
A trivial fix to a class reference
2019-05-02 20:14:23 +10:00
Gael Varoquaux 175ded7caa DOC: trivial rst fix (#13765) 2019-05-02 18:49:23 +10:00
Adrin Jalali a475594614 FEA OPTICS: add extract_xi method (#12077) 2019-04-28 00:11:04 +10:00
Nicolas Hug 6b7dc9bc30 FEA Partial dependence plots (#12599) 2019-04-24 22:52:15 +10:00
xinyuliu12 933f80a32d MAINT: reduce example execution time of plot_image_denoising.py (#13683) 2019-04-23 20:56:11 +02:00
Thomas J Fan 8edd9f9f15 ENH Add verbose option to Pipeline, FeatureUnion, and ColumnTransformer (#11364) 2019-04-22 00:51:21 +10:00
Martin Gubri 934dfb0a86 DOC Improve performance of the plot_rbm_logistic_classification.py example (#13383) (#13648) 2019-04-16 22:41:11 -04:00
Ramil Nugmanov d94e2a2f00 FEA VotingRegressor (#12513) 2019-04-10 21:27:17 +10:00
Loïc Estève 3aefc834dc MNT CI Fix for sphinx-gallery 0.3.1 + 404 errors on Debian Jessie packages (#13527)
* Fix for sphinx-gallery 0.3.1.

Figure numbering have been changed to ignore matplotlib figure number.

* Use circleci/3.6 image.

This docker image uses Debian stretch and fixes the problems seen with apt-get update with Debian jessie.

* Install additional fonts.

Seems to be needed to convert doc/images/iris.svg.

* Another missed example using figure number 0.

[doc build]
2019-03-27 16:01:11 +01:00
mathurinm ffc63c6508 EXA Use stem plot for ElasticNet and Lasso coefficients (#13435) 2019-03-17 09:38:04 +11:00
Joel Nothman 19c8af6d6a ENH/FIX Replace jaccard_similarity_score by sane jaccard_score (#13151) 2019-03-13 20:59:08 +08:00
Joel Nothman 22071218b2 ENH Pipeline can now be sliced or indexed (#2568)
* ENH Pipeline can now be sliced or indexed

* Additional assertion imports for testing

* DOC Documentation and example for Pipeline slicing

* FIX put doctest lines in correct order

* DOC improve compose Pipeline docs

* Fix doctest

* Fix merge error

* DOCs improved after Alex's comments

* This is not the right place to change to LinearSVC

* missed one

* DOC add what's new

* Fix doctest

* doctest tweaks

Co-Authored-By: jnothman <joel.nothman@gmail.com>

* doctest tweaks

Co-Authored-By: jnothman <joel.nothman@gmail.com>

* doctest tweaks

Co-Authored-By: jnothman <joel.nothman@gmail.com>

* fix doctests

* Correct step name

* Update doc/whats_new/v0.21.rst

Co-Authored-By: jnothman <joel.nothman@gmail.com>
2019-03-07 11:22:49 +01:00
Adrin Jalali 813eb4cfc9 EXA Fix iterative imputer example's speed issue. (#13379) 2019-03-05 00:30:21 +08:00
Joris Van den Bossche a3ccbe98f2 EXA Fix construction of result in IterativeImputer example (#13384) 2019-03-04 23:31:41 +08:00
Adrin Jalali 40441e86f5 [MRG+1] OPTICS fit uses the selected `extract_method` parameter (#12087)
* add extract method parameter

* change fancy to sqlnk

* test for invalid extract_method value

* test easy dbscan

* pep8

* add extract_sqlnk

* mention which parameter is used for which extact method

* add tests for extract methods with no params given

* Add the reference for the SQLNK method.

* make extract_optics_dbscan and extract_optics_sqlnk public

* fix references, sync docstrings

* fix more morege conflicts

* reorganize the code and get it closer to what we want

* pep8

* remove sqlnk, make compute_optics_graph public

* pep8

* remove unused reference

* make tests pass

* fix docstrings

* fix removal of removed parameter

* add back min_cluster size, xi needs it

* pep8

* fix docstring issue

* address Hanmin's comments

* remove core_sample_indices_

* fix comment

* pep8

* apply comments, remove example

* add public functions to classes.rst and __init__

* address Joel's comments
2019-03-03 20:38:00 +01:00
Thomas J Fan db2290ce38 MNT Fixes cross-reference and no reference issues in sphinx (#13000)
* DOC: Fixes cross references

* RFC: Minimizes diffs

* REV: Removes default-role

* ENH: Process python domain first

* ENH: Support sphinx 1.6.2

* RFC: Only reorder for python classes

* RFC: Adds early exit

* DOC: Uses term for ColumnTransformer

* REV: Removes styling from term

* ENH: Handle no references case

* ENH: Adds RuntimeError

* RFC: Adds runtime error message

* DOC: Adds comment on default_role

* CLN Removes term
2019-02-28 19:17:38 +01:00
William de Vazelhes d31b67f23d FEA Neighborhood Components Analysis (#10058) 2019-02-28 15:58:07 +01:00
Christos Aridas 943239592e EXA Remove unused variables (#13197) 2019-02-20 12:36:22 +11:00
Joel Nothman b8d1226d69
FEA Add IterativeImputer (#11977)
By Sergey Feldman
2019-02-15 12:05:36 +11:00
Manuel López-Ibáñez 0a1ee74a14 EXA plot_confusion_matrix example breaks down if not all classes present (#13126)
* fix #12700 plot_confusion_matrix example breaks down if not all classes are present in the test data

* plot_confusion_matrix: update function call, fix style issues

* remove redundant confusion_matrix call
2019-02-10 16:05:58 +01:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Hanmin Qin 575064b8e1
MNT More clean up after we remove python < 3.5 (#13078) 2019-02-02 22:01:13 +08:00
Hanmin Qin c0bb178389 EXA: fix xlabel and ylabel in plot_cv_digits.py (#13067) 2019-01-30 15:41:37 +01:00
Hanmin Qin 1deb95a13e EXA Improve example plot_svm_anova.py (#11731) 2019-01-28 12:57:38 +11:00
Joel Nothman 8e4a8763ce MNT Remove accidentally added example 2019-01-18 00:41:10 +11:00
Joel Nothman 486f8fc543 DOC fix plot_iris references after files renamed 2019-01-17 23:31:48 +11:00
Joel Nothman 1a54989ce8 DOC credit multiple authors of new example 2019-01-17 22:19:19 +11:00
Christos Aridas d2a77d7e78 DOC Add an example of inductive clustering (#10852) 2019-01-17 22:16:22 +11:00
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Thomas Fan 7bc20c0e50 DOC Minor changes to DOCS to address sphinx warnings (#12999) 2019-01-17 17:49:31 +08:00
Zhuyi Xue ba4720a01d DOC improved example plot in plot_lda_qda.py (#12942) 2019-01-14 23:15:19 +08:00
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00
mferrari3 354c8c3bc3 DOC update SVR plot point size and color (#12877)
With thanks to 	@rishikksh20 and @ml4713
2019-01-10 09:42:35 +11:00
Wenhao Zhang 581752012c ENH refit=callable in *SearchCV adds flexibility in identifying the best estimator (#11354) 2019-01-09 12:56:30 +11:00
Rohan Lekhwani e0697b01a7 MNT Used scipy.special.expit for the inverse of the logit function (#12931) 2019-01-08 18:35:19 +11:00
Roman Yurchak acb8106472 MNT Use list and dict comprehension (#12668) 2019-01-08 09:32:34 +11:00
Hanmin Qin 9acc606e60 EXA Use cv=5 instead of cv=10 in plot_validation_curve.py (#12929) 2019-01-07 15:21:42 +01:00
Mickaël Schoentgen 2df594564d EXA Fix several DeprecationWarning: invalid escape sequence in examples (#12924) 2019-01-05 12:22:36 +08:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Adrin Jalali 77b9b1f114 BLD circle-ci should only run/build plot_* files (#12797) 2018-12-28 19:48:45 +08:00
Nicolas Hug a50c03f975 [MRG] Add pprint for estimators - continued (#11705)
* add pprint for estimators

* strip color from length, add color option

* Minor cleaning, fixes, factoring and docs

* Added some basic tests

* Fixed line length issue

* fixed flake8 and added visual test for review

* Fixed test

* Fixed Python 2 issues (inspect.signature import)

* Trying to fix flake8 again

* Added special repr for functions

* Added some other visual tests

* Changed _format_function in to _format_callable

because callable() returns True also for class objects (which we want to
reprensent with their name as well anyway)

* Consistent output in Python 2 and 3

* WIP

* Now using the builtin pprint module

* pep8

* Added changed_only param

* Fixed printing when string would fit in less than line width

* Fixed printing of steps parameter

* Fixed changed_only param for short estimators

* fixed pep8

* Added some more description in docstring

* changed_only is now an option from set_config()

* Put _pprint.py into sklearn/utils, added tests

* Added doctest NORMALIZE_WHITESPACE where needed

* Fixed tests

* fix test-doc

* fixing test that passed before....

* Fixed tests

* Added test for changed_only and long lines

* typo

* Added authors names

* Added license file

* Added ellipsis based on number of elements in sequence + added increasinly aggressive repr strategies

* Updated whatsnew

* dont use increaingly aggressive strategy

* Fixed tests

* Removed LICENSE file and put license text in _pprint.py

* fixed test_base

* Sorted parameters dictionary for consistent output in 3.5

* Actually using OrderedDict...

* Addressed comments

* Added test for NaN changed parameter

* Update whatsnew

* Added example to set_config()

* Removed example

* Added example in gallery

* Spelling
2018-12-19 23:48:21 -05:00
Feda Curic 52e9cc5add EXA Avoiding TypeError when using --all_categories in plot_document_classification_20newsgroups.py (#12770) 2018-12-14 23:40:49 +08:00
Adrin Jalali 2bd87f6ed8 Remove python < 3.5 from CI (#12746) 2018-12-14 10:53:12 +01:00