Commit Graph

23 Commits

Author SHA1 Message Date
Wes Barnett 20cb37e8f6 DOC document "precomputed" kernel for KernelRidge (#11134)
* document "precomputed" kernel for KernelRidge

See #8445.

* fix doc for KernelRidge

use n_samples_fitted in score
2018-05-26 19:14:02 +10:00
Hanmin Qin 42ee9b72cf [MRG] DOC Fix missing link in kernel_ridge.py (#9966)
* DOC Fix missing link in kernel_ridge.py

* remove func
2017-10-22 15:57:23 +11:00
Kathy Chen 04b67e2bcd [MRG+1] Fix estimators to work if sample_weight parameter is pandas Series type (#7825)
* addressed comments in the PR about parameters in check_array

* update the test case for the evaluation of estimators with pandas series

* bug fix, need to check for *not* None explicitly

* updated with isinstance check if the documentation says there is acceptance of floats

* ran pep8 linter on modified files

* moving the test case to estimators_check

* add a predict function into the testing pandas.Series class

* avoid running anything beyond the newly added meta checks

* check if pandas is installed before running the specific test

* changed the order of the try-catch to check for sample_weight param beforehand

* pass on import error rather than printing something to std out

* improve test case naming and pd.Series check in the bad estimator class

* address a pep8 linter error with unused import

* pep8 warning disabled for potential unused import

* throw a warning when SkipTest is raised

* add a SkipTestWarning

* updated the whats_new.rst with this issue

* rebase and fix a spacing issue
2016-12-03 15:56:22 -05:00
Robin Schucker 1f381ae728 Fixed doc for issue #7409 (#7410) 2016-09-13 20:27:17 +10:00
YenChenLin 46fc1be145 Remove redundant words in sklearn 2016-02-23 16:54:03 +08:00
Clyde-fare a60152655b Added laplacian kernel
A variant of the rbf kernel that uses the L1 norm.
Updated docs and kernel references.
2015-10-14 13:56:57 -04:00
Andreas Mueller 6bae1b99be force y to be numeric in kernel ridge. 2015-07-31 17:27:45 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Mathieu Blondel 7fa9b0edc0 Support sparse matrices in KernelRidge.
Fixes #4384.
2015-03-12 23:08:10 +09:00
Mathieu Blondel ab88c4c06e Use relative imports. 2015-01-25 00:16:45 +09:00
Mathieu Blondel bdacaba7c2 Kernelized ridge regression -> Kernel ridge regression 2015-01-21 11:50:54 +09:00
Mathieu Blondel 73f0d2bef4 Remove unused imports. 2015-01-18 14:52:43 +09:00
Jan Hendrik Metzen 2a2e7c6ecd FIX KernelRidge checks if fitted before predict 2015-01-18 11:01:44 +09:00
Jan Hendrik Metzen c48c9711b3 MISC Let sample_weight default to None 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen 60e3d0464d DOC Revised documentation of kernel ridge regression 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen d24087737e MISC Using RandomState object instead of setting global seed 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen eaaf84d730 REFACTOR Backported changes in _solve_cholesky_kernel to ridge.py 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen e5888b2fbd FIX Allow multi-output in KernelRidge 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen ddaf1908cd FIX Input validation in fit() of KernelRidge 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen 12e2ee34f0 MISC Optimized two numpy statements in kernel_ridge.py 2015-01-18 11:01:42 +09:00
Jan Hendrik Metzen 4b8a1a782c DOC Resolved minor issues in documentation of kernel_ridge 2015-01-18 11:01:42 +09:00
Jan Hendrik Metzen d3eb311304 DOC Added documentation for kernel_ridge module 2015-01-18 11:01:42 +09:00
Jan Hendrik Metzen e8a8f8f66f ADD @mblondel's initial implementation of KernelRidge added 2015-01-18 11:01:42 +09:00