Commit Graph

12304 Commits

Author SHA1 Message Date
Zijie (ZJ) Poh bb3f93c8b3 API NMF and non_negative_factorization have inconsistent default init (#12989) 2019-01-30 08:12:21 +08:00
Hanmin Qin 31cef3b8f2 DOC More details about the attributes in MinMaxScaler (#13029) 2019-01-30 11:08:41 +11:00
Gabriel Vacaliuc 5fc5c6e62e FIX an issue w/ large sparse matrix indices in CountVectorizer (#11295) 2019-01-30 11:06:05 +11:00
Vishaal Kapoor fdf2f3834e DOC Correct TF-IDF formula in TfidfTransformer comments. (#13054) 2019-01-29 17:50:41 +11:00
Hanmin Qin 59a1ef7498 DOC Remove outdated doc in KBinsDiscretizer
See #13074
2019-01-27 18:05:10 +08:00
Hanmin Qin 025cff28fb DOC Remove outdated doc in KBinsDiscretizer (#13047) 2019-01-27 20:27:20 +11:00
Hanmin Qin 60be46cd33 API Deprecate externals.six (#12916) 2019-01-27 19:16:42 +11:00
xhan 3207278e03 TST Use random state to initialize MLPClassifier. (#12892) 2019-01-27 08:17:58 +08:00
Raf Baluyot 1f5bcaeb39 FIX float16 overflow on accumulator operations in StandardScaler (#13010) 2019-01-26 18:15:18 +01:00
Sam Waterbury dca9156387 FIX Fix shuffle not passed in MLP (#12582) 2019-01-25 07:58:26 +01:00
pierretallotte ce9dedb1a3 FIX Convert the negative indices to positive ones in ColumnTransformer._get_column_indices (#13017) 2019-01-22 22:22:40 +08:00
Prabakaran Kumaresshan db17f3e222 FIX Parallelisation of decomposition/sparse_encode (#13005) 2019-01-20 20:37:29 +11:00
Zijie (ZJ) Poh 473fd5a747 DOC Label Spreading clumping factor must be in (0, 1) (#13015) 2019-01-19 21:43:59 +11:00
Joel Nothman 365c1b2071 MNT more informative warning in estimator_checks (#13002) 2019-01-17 21:59:40 +01:00
Agamemnon Krasoulis 9faa41429c docstring fix X in predict/predict_proba (#13004) 2019-01-17 14:45:22 -05:00
Thomas Fan 7bc20c0e50 DOC Minor changes to DOCS to address sphinx warnings (#12999) 2019-01-17 17:49:31 +08:00
Prabakaran Kumaresshan 8a604f7f87 FIX parallelisation of kmeans clustering (#12955) 2019-01-17 10:42:17 +11:00
Reshama Shaikh ff46f6e594 DOC improve tfidfvectorizer documentation (#12822) 2019-01-16 17:49:46 +11:00
Prabakaran Kumaresshan 41aa3edd78 MNT Remove build_tools/windows/windows_testing_downloader.ps1 (#12974) 2019-01-15 09:28:51 +01:00
Joris Van den Bossche fce73db57a FIX deprecation handling in OneHotEncoder for categorical_features + handle_unknown='ignore' case (#12923) 2019-01-15 16:34:55 +11:00
Thomas Fan 7ee321fe44 DOC Broken links to cluster.optics (#12981) 2019-01-14 23:24:52 +08:00
MarcoGorelli eab7e8b155 DOC Mention StandardScaler ddof (#12950) 2019-01-14 21:25:38 +08:00
Nicolas Hug 07b0a420a9 FIX builtin PrettyPrinter usage on estimators (#12938) 2019-01-14 17:29:57 +11:00
Finn O'Shea 98baafb64a MNT Inelegant failure of RandomTreesEmbedding.transform when not fitted (#12965) 2019-01-13 23:14:24 +08:00
Finn O'Shea 39db9c4eca DOC clarification to base.OutlierMixin.fit_predict method docstring (#12954) 2019-01-13 21:31:54 +11:00
kms15 f3b2579021 DOC mention handlng of empty bins in calibration_curve docstring (#12926) 2019-01-13 21:29:47 +11:00
Tashay Green 0cf8a168dc DOC references for probabilistic SVC (#12859) 2019-01-13 21:24:09 +11:00
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00
Albert Thomas 0eda10a598 FIX Bayesian ridge regression: returned values to match last update (#12174) 2019-01-10 21:36:03 +11:00
Nicolas Hug 0a07364abd ENH Added penalty='none' to LogisticRegression (#12860) 2019-01-10 09:26:30 +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
Bryan Woods c3f973b1de FIX supports 64 bit group ID and indexes (#12736) 2019-01-09 09:52:10 +11:00
Pawel Sendyk 4c2eb3a0d6 FIX r2_score behavior with a single sample (#11435) (#12855) 2019-01-08 18:40:37 +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 701144559f MAINT Remove unused utils.fixes (#12928)
This continues the work done in https://github.com/scikit-learn/scikit-learn/pull/12639 on dropping the python 2 support by,
 - ~~removing unnecessary `from __future__` imports~~
 - removing unused `sklearn.utils.fixes` assuming we can agree in https://github.com/scikit-learn/scikit-learn/issues/12927 that `sklearn.utils.fixes` are private as was stated e.g. in https://github.com/scikit-learn/scikit-learn/issues/6616#issuecomment-245109979
2019-01-08 12:43:49 +11:00
Roman Yurchak acb8106472 MNT Use list and dict comprehension (#12668) 2019-01-08 09:32:34 +11:00
Hanmin Qin 6dd6af78eb TST Use match instead of message in pytest.raises (#12933) 2019-01-07 15:20:11 +01:00
Roman Yurchak 684d8a221d MAINT Use set litterals when possible (#12667) 2019-01-06 19:21:45 +08:00
Hanmin Qin 02a0101c7c
FIX learning_rate default value in update_terminal_regions (#12925) 2019-01-05 11:33:37 +08:00
Zayd Hammoudeh 4223633b0d FIX Use scipy.special.expit in calibration (#12909) 2019-01-03 20:53:31 +02:00
Roman Yurchak 836a8124a5 MNT Use scipy.special.xlogy to avoid indefinite limit in 0 for x*log(y) (#12915) 2019-01-03 23:05:57 +08:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Elizabeth Sander 6581b0d142 FIX predict method for multiclass multioutput ensemble models (#12834) 2019-01-03 08:23:49 +11:00
Hanmin Qin a1c199f2b0 TST Manually scramble the indices in svm tests (#12890)
* [scipy-dev] manually scramble the indices

* [scipy-dev] review comment
2019-01-02 19:24:17 +01:00
Andreas Mueller b32076f581 DOC better explain bootstrap option in forests and bagging (#12875) 2018-12-28 13:19:27 +08:00
Emmanuel Arias 19a7c08c82 DOC Document that fetch_20newsgroups also returns target_names (#12783) 2018-12-23 09:55:08 +08:00
Dowon 0e5feb6bf7 DOC improving import convenience in class examples (#12846) 2018-12-23 09:37:43 +08:00
Thomas Fan de38dfc719 MAINT Remove minor duplication in metrics.__init__ (#12851) 2018-12-21 21:44:40 +01:00
Adrin Jalali d011aedee6 CI move to the latest cython in ci (#12829) 2018-12-20 09:35:17 +01: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