Commit Graph

195 Commits

Author SHA1 Message Date
Louis Tiao 4f7e5fffb7 Fixed typo.. 2015-10-23 11:45:35 +11:00
Gael Varoquaux e777fa7b28 DOC: correct docstring
Trivial fix to correct a docstring that was wrong
2015-10-15 16:36:03 +02:00
TomDLT db49cdd6ac DOC update docstring and warning 2015-10-13 10:25:16 +02:00
Tom DLT d972da2403 FIX temporary fix for sparse ridge with intercept fitting 2015-10-13 10:12:19 +02:00
Raghav R V 86be4782d9 FIX Use float64 to avoid spurious errors 2015-10-07 17:09:28 +02:00
Andreas Mueller af56154a77 Merge pull request #5238 from rvraghav93/cvdoc
[MRG+1] DOC Make cv documentation consistent across our codebase
2015-09-13 13:29:27 -04:00
TomDLT 94eb61960a ENH add sag solver in LogisticRegression and Ridge 2015-09-10 13:28:02 -04:00
Raghav R V 882c346abd DOC Make cv documentation consistent across our codebase 2015-09-10 09:15:13 +05:30
Gael Varoquaux 190abde442 Merge pull request #4881 from sonnyhu/weighted_least_squares
[MRG + 1] add sample_weight into LinearRegression
2015-08-30 16:35:00 +01:00
Andreas Mueller 8a3d97d68e DOC mention intercept_ attribute in ridge docstring. 2015-08-25 13:44:12 -04:00
Sonny Hu a88f6ecf9d add sample_weight into LinearRegression 2015-08-13 14:32:07 -04:00
trevorstephens 3193993503 fixes #4846
add RidgeClassifier
2015-06-11 18:42:09 -07:00
Andreas Mueller 32b2f8e592 Merge pull request #4838 from trevorstephens/ridge_sw
[MRG+1] Add sample_weight support to RidgeClassifier
2015-06-09 11:22:50 -04:00
trevorstephens 2f69574393 add sample_weight to RidgeClassifier 2015-06-08 21:33:56 -07:00
Sonny Hu 92f9c9e274 fix RidgeCV when cv != None
add a test for sample_weight

add a comment for test_ridgecv_sample_weight

make sure coef_ are the same
2015-06-06 08:32:58 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller eedc1cddab Use more natural class_weight="auto" heuristic 2015-06-01 12:49:53 -04:00
Andreas Mueller 2e87da8e49 ENH don't use mutable defaults in RidgeCV. 2015-05-12 16:35:46 -04:00
Andreas Mueller 6beacc3fb6 remove deprecated stuff from 0.17 2015-03-18 14:49:04 -04:00
Andreas Mueller cd5166e82f make check_array convert object to float.
fix dtype check, add test. unfriend all multi-output estimators on facebook.

try to fix what is happening to y (by doing nothing to y)

make test work...

Make everything accept object y or say "invalid label"

fix multioutput linear models

add test for sensible error message.
2015-02-15 12:13:41 -05:00
trevorstephens 54d68d247f remove inplace multiplication in ridge 2015-02-02 18:37:25 -08:00
trevorstephens 965bf51636 use safe in1d, use compute_sample_weight in ridge 2015-02-01 14:28:01 -08:00
Mathieu Blondel 59648f337b Simplify rescaling. 2015-01-25 00:16:45 +09:00
Mathieu Blondel 6acbb8ce73 Handle sample_weight upfront. 2015-01-25 00:16:45 +09:00
Jan Hendrik Metzen ff1ec8d963 REFACTOR Using lstsq rather than manual pinv in _solve_cholesky_kernel 2015-01-18 11:01:44 +09:00
Jan Hendrik Metzen f3df83f068 FIX We must not use overwrite_a=True in _solve_cholesky_kernel as K might be reused 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen c48c9711b3 MISC Let sample_weight default to None 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 d3eb311304 DOC Added documentation for kernel_ridge module 2015-01-18 11:01:42 +09:00
Raghav R V c150608282 FIX Remove unused score_overrides_loss param from check_scoring 2015-01-16 11:54:14 -05:00
Andreas Mueller 46c1c42131 remove deprecated ``n_bootstraps`` parameter in Bootstrap cv object, verbose in FactorAnalysis and SelectorMixin. Also adjust some deprecation strings. 2014-12-29 13:53:42 -05:00
trevorstephens 7c50e6c8eb various docstring fixes for web docs 2014-11-30 17:59:42 -08:00
Andreas Mueller 6e7b11e0ff DOC RidgeCV more explicit documentation of CV parameter, taken from GridSearchCV. 2014-11-10 10:32:47 -05:00
Mathieu Blondel c1eb8f9aaf Fix sparse_cg solver when max_iter is specified. 2014-10-02 11:40:28 +09:00
akshayah3 3a02da807a Raise exception for sparse inputs in the case of svd solver
Fixes #3709, #3718.
2014-09-30 08:40:47 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
lesteve b12d1ac487 Remove deprecated 'score_func' and 'loss_func' parameters from sklearn.metrics.scorer.check_scoring. Amend the code in all the other places they were used. 2014-07-17 13:53:06 +01:00
lesteve e107e1f5f6 Remove deprecated 'class_weight' parameter from RidgeClassifierCV.fit 2014-07-16 17:53:36 +01:00
Olivier Grisel 85b949936a FIX multilabel deprecation warning in RidgeClassifierCV 2014-07-13 18:23:30 +02:00
Hamzeh Alsalhi 2bfca14c49 ENH sparse matrix support in label binarization 2014-06-25 16:15:19 -04:00
Lars Buitinck 2931627bdc FIX RidgeClassifierCV didn't have scoring parameter
... but is advertised as having one
2014-06-18 23:52:02 +02:00
Michael Eickenberg a8e3d99ce1 Added raise statement in ridge_regression solver check 2014-04-28 10:25:21 +02:00
Michael Eickenberg 4009769f8b updated authors 2014-04-17 23:18:45 +02:00
Michael Eickenberg 8307eee9ab Ridge regression now can use sample_weights in feature space. Summary commit over around 20 commits to avoid failing tests 2014-04-15 13:36:49 +02:00
Michael Eickenberg 50e35b52b5 Now capable of treating sample_weights in feature space 2014-04-10 13:48:32 +02:00
Manoj-Kumar-S 566237dbab FIX: Label encoding done in compute_class_weight
Changed API such that weight[i] corresponds to sorted_weight[i].
2014-03-01 17:04:55 +01:00
Manoj-Kumar-S 6740de0d1a FIX: sample_weight='auto' for RidgeClassifier 2014-02-19 22:56:56 +05:30
Eduardo Ariño de la Rubia 541f1ca8cd Fixed incredibly minor spelling mistake 2014-02-09 18:07:48 -08:00
Jaques Grobler 6ebcf4d020 COSMIT fix PEP8 errors 2014-02-02 00:30:28 +11:00