Commit Graph

2885 Commits

Author SHA1 Message Date
Joel Nothman 1675e77e3e
API Make IterativeImputer experimental (#13824) 2019-05-09 09:28:44 +10:00
Guillaume Lemaitre 6525a39dd6 MNT Remove Imputer in preprocessing (#13796) 2019-05-08 22:24:32 +08:00
Guillaume Lemaitre 7896b21562 MNT change default of solver in LogisiticRegression (#13805) 2019-05-08 21:31:39 +08:00
jeromedockes f23e92ed4c ENH handle sparse x and intercept in _RidgeGCV (#13350) 2019-05-07 23:34:07 -04:00
Guillaume Lemaitre d0a94fea74 DEP remove graph lasso (#13795) 2019-05-07 16:22:06 +02: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
Vathsala Achar 602f3d68d8 Added distance_threshold parameter to hierarchical clustering (#9069) 2019-04-29 12:43:28 -04:00
Adrin Jalali a475594614 FEA OPTICS: add extract_xi method (#12077) 2019-04-28 00:11:04 +10:00
Nicolas Hug 9f68c992ae [MRG+2] Faster Gradient Boosting Decision Trees with binned features (#12807) 2019-04-26 21:14:59 +02:00
Nicolas Hug 6b7dc9bc30 FEA Partial dependence plots (#12599) 2019-04-24 22:52:15 +10:00
Emmanuel Arias d88fec8d4b ENH Support Haversine distance in pairwise_distances (#12568) 2019-04-24 14:33:23 +02:00
Thomas J Fan 8edd9f9f15 ENH Add verbose option to Pipeline, FeatureUnion, and ColumnTransformer (#11364) 2019-04-22 00:51:21 +10:00
Nicolas Hug 9597da9b02
fix small latex issue (#13680) 2019-04-19 16:19:03 -04:00
Tommy ffdd96adb7 DOC Remove synonyms in documentation of linear models (#13663) 2019-04-18 10:07:46 -07:00
Olivier Grisel 404387c067 FIX broken references in documentation (#13664) 2019-04-18 09:56:49 -07:00
Roman Yurchak fc33d303c4 MAINT Unvendor joblib (#13531) 2019-04-17 09:22:09 -04:00
Stéphane Couvreur a353b7fab4 ENH Extension of v_measure_score metric to include beta parameter (#13607) 2019-04-16 06:59:23 -04:00
Danylo Baibak 50834f7c33 Add parameter for stacking missing indicator into iterative imputer (#13601) 2019-04-15 15:32:42 -04:00
Ramil Nugmanov d94e2a2f00 FEA VotingRegressor (#12513) 2019-04-10 21:27:17 +10:00
Danylo Baibak 2252e1f0b2 FEA Parameter for stacking missing indicator into imputer (#12583) 2019-04-09 20:59:33 +10:00
Manimaran 921c8f3249 DOC reference tree structure example from user guide (#13561) 2019-04-04 23:38:40 +11:00
Erich Schubert 51b18529dc DOC Clarify eps parameter importance in DBSCAN (#13563) 2019-04-04 01:11:14 +11:00
Peter Marko 49cdee6a12 ENH iForest - expose warm_start (#13451) (#13496)
* ENH iForest - expose warm_start (#13451)

* Incorporates comments from PR #13496

* versionadded=0.21

* adition in whatsnew

* test using iris dataset

* Update sklearn/ensemble/tests/test_iforest.py

smaller dataset for testing

Co-Authored-By: petibear <40757147+petibear@users.noreply.github.com>

* Trigger CI

* Corrected the PR reference

* doc entry on warm_start + renamed the test

* Corrections in the doc example

* comments made inline in the doc example
2019-03-27 22:58:55 +01: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
jeremiedbb e574990d1a [MRG] MNT Clean some deprecation stuff for 0.21 (#13443) 2019-03-21 15:55:32 +01:00
Joel Nothman 19c8af6d6a ENH/FIX Replace jaccard_similarity_score by sane jaccard_score (#13151) 2019-03-13 20:59:08 +08:00
Hanmin Qin f867ccc533 DOC balanced_accuracy supports multiclass 2019-03-12 22:48:55 +08:00
Hanmin Qin 7a636f0cc5 DOC utils.testing.mock_mldata_urlopen is deprecated 2019-03-10 08:57:36 +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
Kulbear ab649266e1 DOC Fix a typo in cross_validation.rst (#13398) 2019-03-07 09:08:00 +08:00
Kuai Yu fec7670ad0 ENH Enable the "sufficient stats" mode of LARS (#11699) 2019-03-06 08:06:47 +01:00
Hanmin Qin 7b2676285d DOC Alphabet order in classes.rst 2019-03-04 20:34:47 +08:00
Adrin Jalali bda4005943 MNT remove optics from clustering.rst (#13381) 2019-03-04 19:16:21 +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
Albert Thomas 37b0e66c87 [MRG] add implementation details for Isolation Forest (#13364)
* add implementation details of Isolation Forest

* fix formula syntax
2019-03-02 08:52:17 +01:00
Albert Thomas 2ad8735c50 FIX set n_quantiles to min(n_samples, n_quantiles) in QuantileTransformer (#13333) 2019-03-01 11:23:56 +01:00
William de Vazelhes d31b67f23d FEA Neighborhood Components Analysis (#10058) 2019-02-28 15:58:07 +01:00
Jonathan Ohayon d045c1abc8 [MRG+2] Change ovr_decision_function scale (#10440)
* unit test for _ovr_decision_function

* sigmoid scale

* error on subset test

* clearer comment on test

* new scaling function forget sigmoid

* remove exception in subset check for SVC decision_function

* add comment and update whats_new

* update comment

* change test for float imprecision

* use 1/3 instead of 1/2

* merge conflict error

* flake8 correction and assert_true replacement

* better comment

* refer to public functions

* remove reference to private function

* rst dots

* change fix comments
2019-02-28 15:04:50 +01:00
Albert Thomas 0f09297cde ENH: simplify transform for uniform output in QuantileTransformer (#12827) 2019-02-26 17:53:38 +01:00
assiaben face9daf04 MNT Delete wrapper function optics around OPTICS (#13271)
* Delete wrapper function optics around OPTICS

optics () is a simple  wrapper around the OPTICS class which instantiates the
class and calls fit. This wrapper exists for DBSCAN or K-Means but not for all
clustering methods. For code homogeneity, I am deleting this function.

* delete optics wrapper from cluster module list

Previous commit forgot to delete the optics wrapper from the cluster module
list. So the test testing the presence of modules failed.
2019-02-26 14:59:55 +01:00
drewmjohnston 350cd4aefa ENH: Add Drop Option to OneHotEncoder. (#12908) 2019-02-26 13:50:21 +01:00
assiaben 74c92ea06e [MRG+1] DOC data centering in PCA (#13242)
[MRG+2] DOC data centering in PCA
2019-02-25 15:00:34 +01:00
Hanmin Qin 5c8167a159 FIX Correct the definition of gamma=`scale` in svm (#13221) 2019-02-24 18:34:43 +11:00
maikia 2480368856 DOC Change CountVectorizer(...lambda..) to OneHotEncoder() in ColumnTransformer examples (#13212) 2019-02-22 23:17:20 +08:00
Christos Aridas eb800524dd DOC Correct word in preprocessing [ci skip] (#13216) 2019-02-21 13:53:43 -08:00
Hanmin Qin 09bc27630f DOC Formatting issue in preprocessing.rst 2019-02-21 21:56:21 +08:00
Roman Yurchak d5258de0d5 DOC Fix formatting typo in the SVM user guide 2019-02-21 11:19:18 +01:00
Joel Nothman b8d1226d69
FEA Add IterativeImputer (#11977)
By Sergey Feldman
2019-02-15 12:05:36 +11:00
Nicolas Hug 64f5630462 DOC Added link for cross validate in user guide (#13167) 2019-02-15 11:07:02 +11:00