Juan Carlos Alfaro Jiménez
c4c0fe2ce4
FIX Specify C++11 compiler for sklearn/svm/_newrand ( #17767 )
2020-06-30 08:08:12 +10:00
Christos Aridas
2b503bdc08
CLN Remove self-assignments from tests ( #17776 )
2020-06-29 15:22:21 -04:00
Christos Aridas
0d3713ec00
TST Refactor the test of oob score of forest predictors ( #17770 )
2020-06-29 11:08:48 -07:00
Thomas J. Fan
8ac7a77a4a
DOC Fix some glossary links ( #17773 )
2020-06-29 13:56:57 -04:00
Juan Carlos Alfaro Jiménez
a34d0bd86a
MNT Use central location of dependencies for travis-ci ( #17761 )
2020-06-29 13:22:34 -04:00
Justin Huber
430c2080e8
TST Python wrapper and tests for sklearn/svm/newrand/ ( #17157 )
...
* Implemented issue #16862
* Implemented issue #16862
* Ready for pull request
* Cleaned up redundancies
* Removed test_set_seed_wrap for now
* Update sklearn/svm/tests/test_bounds.py
Co-authored-by: smarie <sylvain.marie@schneider-electric.com>
* Review feedback changes
* Style fixes
* np.quantile -> np.percentile
* Update sklearn/svm/src/newrand/newrand.h
Merged suggestion
Co-authored-by: smarie <sylvain.marie@schneider-electric.com>
* Update sklearn/svm/tests/test_bounds.py
Merge suggestions
Co-authored-by: smarie <sylvain.marie@schneider-electric.com>
* linting fix
* linting fix
* linting fix
* Added deterministic test for mt19937 in svm/newrand.h
* Linting fix
* Review changes
* Update sklearn/svm/tests/test_bounds.py
Co-authored-by: smarie <sylvain.marie@schneider-electric.com>
* Update sklearn/svm/tests/test_bounds.py
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
* Update sklearn/svm/tests/test_bounds.py
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
* Update test_bounds.py
* Linting fixes
Co-authored-by: smarie <sylvain.marie@schneider-electric.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-06-28 18:22:04 +02:00
Chiara Marmo
7eff8ae75b
DOC Update what's new for version 0.24 ( #17755 )
2020-06-27 12:03:00 -04:00
Kevin Markham
24ef43006a
DOC Update links on Contributing page ( #17757 )
2020-06-27 11:31:05 -04:00
Thomas J. Fan
0f114b610d
MNT Places all minimum dependencies in one central location ( #17573 )
...
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-06-27 16:55:25 +02:00
Srimukh Sripada
cf4fa5c771
MNT Remove unused variable `batch_size` in MLP `_fit` ( #17754 )
2020-06-27 21:39:28 +10:00
Thomas J. Fan
692899d172
TST Fix estimator checks for classifers with poor_score tag ( #16851 )
2020-06-27 10:56:15 +02:00
Lisa Schwetlick
911137f0de
ENH Enable percentage for n_features_to_select in RFE(Fix PR #16228 ) ( #17090 )
...
* added code from PR #14627
* fixed error handling None as n_features_to_select
* added test for error message and percentage passing
* linting
* more linting
* even more linting
* sklearn/feature_selection/_rfe.py make int casting simpler
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
* exchange redundant test case with small float
* add what's new
* removed useless import
* lint
* Fix whats_new/v0.24.rst
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* move whats new section
* disambiguate choice between 1 feature and 100% of features
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* move checking for negatives to _fit
* update error to include nones
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* markdown style in what's new
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* Update sklearn/feature_selection/tests/test_rfe.py
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* forgot to delete line
* fix test for negative n_features error
* BUG Fixes issues
* added case for float >1 and more detailed error messages
* lint
* more lint
* more lint
* CLN Minor adjustments
* BLD Force build on ci
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-26 22:40:25 -04:00
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
Jérémie du Boisberranger
d3e4f24015
BUILD Make sure PKG-INFO contains Requires-Python ( #17683 )
2020-06-26 18:52:02 -04:00
Avi Gupta
8dc143e621
ENH Add parameter in colorbar in plot_confusion_matrix ( #17192 )
...
Co-authored-by: Venkatachalam N <venky.yuvy@gmail.com>
2020-06-26 22:58:05 +02:00
Juan Carlos Alfaro Jiménez
df99dfaeed
TST Skip test_common_check_return_X_y if pillow not installed ( #17692 )
2020-06-26 20:41:37 +02:00
Ruby Werman
563257a141
DOC Change remove symbol nu from OutlierDetection ( #17732 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-26 19:20:12 +02:00
t-kusanagi2
068c4e6e00
FIX fix multinomial deviance by taking the weighted average instead of the sum ( #17694 )
...
Co-authored-by: Markus Rempfler <markus.rempfler@tum.de>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-06-26 18:57:36 +02:00
Kendrick Cetina
e4aab357e9
DOC improve attributes and parameters descriptions in KernelPCA ( #17747 )
...
Co-authored-by: Beatriz San Miguel <beatriz.sanmiguelgonzalez@uk.fujitsu.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-06-26 18:00:50 +02:00
maikia
1c62652704
TST check equivalence normalize/StandardScaler and dense/sparse in linear models ( #17665 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-26 14:17:11 +02:00
Juan Carlos Alfaro Jiménez
547ead6c0c
MNT More replacements of numpy aliases with built-in types ( #17707 )
...
* MNT More replacements of numpy aliases with built-in types [scipy-dev]
* MNT More (manual) replacements of numpy aliases
* MNT More (manual) replacements of numpy aliases
* FIX Minor change
* MNT Trigger build [scipy-dev]
* FIX Minor change
* MNT Trigger build [scipy-dev]
* FIX More deprecations of numpy aliases [scipy-dev]
* MNT Silent numpy aliases warnings [scipy-dev]
* FIX Fix silent deprecations
* Trigger build [scipy-dev]
* FIX Add scape characters [scipy-dev]
* FIX Remove package specification from silent
* Trigger build [scipy-dev]
* Revert
2020-06-26 12:45:03 +02: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
Guillaume Lemaitre
27cfe14c25
DOC add whats new entry following #17679 ( #17738 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-06-26 10:33:18 +02:00
Lucy Liu
ed5a4d9e46
DOC Add example in docstring calibration_curve ( #17731 )
2020-06-26 10:10:26 +02:00
Jie Zheng
3491e07044
DOC add missing attributes to LocalOutlierFactor ( #17696 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-26 09:52:02 +02:00
Shashank Singh
1e08459c74
ENH Verify md5-checksums received from openml arff file metadata( #14800 )
...
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-25 20:35:52 -04:00
xavier dupré
b0c03d1280
BUG fix SparseCoder to follow scikit-learn API and allow cloning ( #17679 )
...
* BUG fix SparseCoder to follow scikit-learn API
* TST check that get_params and set_params work as expected
* address comments
* PEP8
* iter
* Fixes #8675 , fix cloning for SparseCoder
* remove spaces
* Update _dict_learning.py
* fix confusing arguments
* remove unnecessary code
* Update test_common.py
* removes spaces
* PEP8
* iter
* fix merge
* ignore a mypy warning
* type: ignore
* remove one deprecated verification
* Update sklearn/decomposition/_dict_learning.py
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
* Update sklearn/decomposition/_dict_learning.py
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
* Update sklearn/decomposition/tests/test_dict_learning.py
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
* test clone produces different id
* review
* add one more test
* lint
* Update sklearn/decomposition/tests/test_dict_learning.py
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-06-25 23:05:19 +02:00
kishimoto
acb8ac5145
[MRG] Expose interpolation thresholds as public fitted attribute of IsotonicRegression ( #16289 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-06-25 21:16:43 +02:00
Maren Westermann
db2d905b3b
DOC coef_ and intercept_ documentation for ComplementNB ( #17722 )
2020-06-25 18:53:52 +02:00
Ruby Werman
2e47204a7e
DOC improve description of OneClassSVM when used for outlier detection ( #17726 )
2020-06-25 18:48:22 +02:00
Kendrick Cetina
2c7107089c
DOC improve attributes and parameters descriptions in RFE and RFECV ( #17721 )
...
Co-authored-by: Beatriz San Miguel <beatriz.sanmiguelgonzalez@uk.fujitsu.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-25 18:46:31 +02:00
Roman Yurchak
361c052f6d
MNT Add type annotations for OpenML fetcher ( #17053 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-25 18:30:27 +02:00
beatrizsmg
ec1070a212
DOC improve attributes and parameters descriptions in MultiLabelBinarizer ( #17718 )
...
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-06-25 18:20:40 +02:00
Thomas J. Fan
dad615ae7a
MNT Fix extension for sphinx 3.0 ( #17724 )
2020-06-25 17:57:59 +02:00
Hirofumi Suzuki
67e24a4927
DOC add explanation of n_jobs in permutation_importance ( #17723 )
2020-06-25 10:45:13 -04:00
Srimukh Sripada
0a3ab419f8
ENH Add inverse_transform feature to SimpleImputer ( #17612 )
2020-06-26 00:13:56 +10:00
adrinjalali
c9ca1d7d32
Revert "ENH Uses binned values from training to find missing values ( #16883 )"
...
This reverts commit e5cc2b0e20 .
2020-06-25 15:42:37 +02:00
Thomas J. Fan
8a695d7d85
ENH Patches sphinx.ext.autosummary for case insensitive file systems ( #13022 )
...
* ENH: Patches autosummary for case insensitive file systems
* DOC: More details
* REV
2020-06-25 14:49:42 +02:00
Thomas J. Fan
9cf2bac1ae
DOC Adds note on dataframe in contributing guide ( #17359 )
...
* DOC Adds note on dataframe
* DOC Address comments
2020-06-25 14:44:06 +02:00
t-kusanagi2
99baa5084f
DOC Add explanation of n_jobs in gaussian_process/_gpc.py ( #17716 )
2020-06-25 14:31:08 +02:00
Thomas J. Fan
6195a16505
DOC Removes FunctionTransformer example ( #17318 )
...
* DOC Removes FunctionTransformer example
* DOC Updates description
2020-06-25 14:27:38 +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
e5cc2b0e20
ENH Uses binned values from training to find missing values ( #16883 )
...
* ENH Uses training data to find missing values
* CLN Uses the binned data to find missing value
2020-06-25 14:24:12 +02:00
Thomas J. Fan
41488fcabe
MNT Remaining numpy alias ( #17712 )
2020-06-25 11:57:11 +02:00
Guillaume Lemaitre
5b3a13c3a1
MNT make MDS documentation follow our doc guidelines ( #17715 )
2020-06-25 10:53:46 +02:00
Jie Zheng
e781ae8e3c
DOC add missing attributes to MDS ( #17697 )
2020-06-25 10:12:51 +02:00
Erich Schubert
e75deb2697
DOC Detail the problem of euclidean_distances ( #17709 )
2020-06-25 13:22:28 +10:00
Ravi Kiran Boggavarapu
802c4922b6
DOC Missing links for user guide and source code in KDTree ( #16971 )
2020-06-24 20:55:47 -04:00
Naoki Hamada
7cc8503919
DOC add missing attributes in KernelDensity ( #17705 )
...
Co-authored-by: Naoki Hamada <hamada-naoki@jp.fujitsu.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2020-06-24 21:23:09 +02:00
Ruby Werman
ff293f0d67
MNT Remove code for scipy legacy version ( #17708 )
2020-06-24 21:07:39 +02:00