Raghav R V
8df25493b9
TST Check for equality in alphas_ when uniform targets are used.
2015-02-12 18:56:10 +05:30
Raghav R V
7926262ae5
TST Add enet test for the case of uniform targets
2015-02-11 23:08:45 +05:30
Andreas Mueller
e3f94351f2
TST Silence some tests.
2015-01-29 17:24:41 -05:00
Mathieu Blondel
6acbb8ce73
Handle sample_weight upfront.
2015-01-25 00:16:45 +09:00
Raghav R V
88555987cc
PEP8 Fix E101, E111 errors and W191, W293, W293 and W391 warnings.
2015-01-08 04:28:24 +05:30
Andreas Mueller
4e270a5157
remove deprecation tests.
2014-12-29 14:00:06 -05:00
MechCoder
f79ac7c187
MAINT: Remove deprecation warnings in enet_path and lasso_path
2014-12-27 00:47:32 +01:00
MechCoder
26901932d7
FIX: Bug in sparse coordinate solver in lazy centering
2014-12-26 22:53:52 +01:00
Alexandre Gramfort
69d393af6f
Merge pull request #3931 from dsullivan7/cwwarn
...
[MRG+1] raising warning for class_weight in fit method
2014-12-12 14:57:37 +01:00
dsullivan7
6cb191cfd8
changing warning test to use assert_raises_message
2014-12-12 13:27:49 +01:00
dsullivan7
5a019b7202
adding simplefilter for warning
2014-12-10 16:07:46 +01:00
Joel Nothman
081a554698
FIX P/R/F metrics and scorers are now for binary problems only by default
...
Scorers for different average parameters have been added.
2014-12-09 13:56:51 +11:00
dsullivan7
b99824fb46
changing warn message, making it Deprecation Warning, and removing negative index for py2.7
2014-12-05 09:39:39 +01:00
dsullivan7
afe890b2a8
adding warning if passing class_weight through fit
2014-12-04 13:17:34 +01:00
dsullivan7
8dd7f16bef
adding support for class_weight in fit method
2014-12-03 17:15:49 +01:00
Gael Varoquaux
e7bab895b7
Merge pull request #3823 from ragv/omp-3644
...
[MRG+1] Fixes #3644
2014-11-26 11:22:25 +01:00
Raghav R V
e4f62b1f17
Added NRT for return_path propagation check
2014-11-25 23:24:54 +05:30
Olivier Grisel
37f11953d0
TST update numerical overflow (non-regression) tests
2014-11-25 17:55:33 +01:00
Olivier Grisel
f0fe4afd1e
Merge pull request #2949 from FlorianWilhelm/theilsen
...
[MRG+1] TheilSen robust linear regression
2014-11-20 15:34:01 +01:00
Olivier Grisel
54f483aafa
FIX #2986 : ZeroDivisionError in LinearRegression on sparse data
2014-11-14 12:51:43 +01:00
Florian Wilhelm
c54c17e99c
COSMIT: Better consistency
2014-10-17 09:54:01 +02:00
Florian Wilhelm
f92074a903
ENH: Speedup of unit tests
2014-10-17 09:25:38 +02:00
Florian Wilhelm
f9ecbf7591
ENH: Always set random_state in unit tests
2014-10-17 09:23:51 +02:00
Florian Wilhelm
d5ec39b62d
TEST: No console output during unit tests
2014-10-17 09:18:07 +02:00
MechCoder
13c2b00dec
TST: Add tests and document whats_new.rst
2014-10-16 20:18:27 +02:00
Florian Wilhelm
b8cd60b248
COSMIT: replaced assert by assert_less/greater etc.
2014-10-16 16:29:07 +02:00
Florian Wilhelm
4fcd6b88f5
COSMIT: pep8 and renaming
2014-10-16 16:16:39 +02:00
Alexandre Gramfort
6744be298a
Merge pull request #3646 from s8wu/multinomial_newtoncg
...
[MRG+2] Multinomial newtoncg
2014-10-16 09:04:18 +02:00
Danny Sullivan
a2d7f89901
fixing duplicated classifier in asgd test
2014-10-15 09:17:36 +02:00
Danny Sullivan
04f6d12282
fix to a minor bug with intercept
2014-10-13 18:21:41 +02:00
Florian Wilhelm
29c21f0e87
Revert "ENH: Removed 1d shortcut in _spatial_median again"
...
This reverts commit 657c86f618 .
2014-10-13 16:01:31 +02:00
Florian Wilhelm
657c86f618
ENH: Removed 1d shortcut in _spatial_median again
2014-10-13 10:32:22 +02:00
Florian Wilhelm
a5d2fd915a
Merge branch 'master' into theilsen
...
Conflicts:
doc/modules/model_evaluation.rst
2014-10-09 17:43:21 +02:00
Florian Wilhelm
389d13d615
ENH: Replace AssertionError by ValueError
2014-10-09 17:14:13 +02:00
Danny Sullivan
a0f0d461bc
fixing merge conflicts
2014-10-09 16:23:45 +02:00
Danny Sullivan
984e9aa8f3
increasing testing precision, putting comment on one line and adding asgd to regression benchmark
2014-10-06 14:39:16 +02:00
MechCoder
7cb3ba1802
TST: Added tests to test Deprecation warning
2014-10-04 11:13:29 +02:00
Danny Sullivan
e5ae879ea0
clean up and average can now be set to an int indicating the number of iterations before averaging
2014-10-03 15:44:15 +02: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
Danny Sullivan
5fe405bd65
cleaning up floating point and unneeded todos, also removing constant learning rate for asgd
2014-09-29 12:58:30 +02:00
Florian Wilhelm
374ac6ddad
ENH: Avoid trailing \ in test_theilsen imports
2014-09-25 22:29:38 +02:00
Florian Wilhelm
961bf6787b
ENH: Shortcut for 1d case in spatial median
...
Use np.median instead of the Weiszfeld method in the
1d case.
2014-09-25 22:24:10 +02:00
Florian Wilhelm
ef17f8067b
ENH: Improvements in the Theil-Sen regressor
...
- Renamed TheilSen to TheilSenRegressor
- Renamed n_iter parameter to max_iter
- Better warning message when maximum iteration number reached
- Added docstring for fit
- Removed backend and max_nbytes parameters in Parallel
- Removed n_dim return value from _check_subparams
- Some PEP8 corrections
- Added an attribute n_iter_ to show number of iterations
- Removed unnecessary array to list conversion ix = list(ix)
- Remove random_state_ as attribute
2014-09-24 22:58:29 +02:00
Florian Wilhelm
a8000405de
COSMIT: Small changes regarding Theil-Sen
...
- Typo fixed in linear_model documenation
- Usage of matplotlib.pyplot instead of matplotlib.pylab
- Removed trailing backslash in import statements
- Renamed _modweiszfeld_step to _modified_weiszfeld_step
- Renamed variable fst to first_elem in _lstq
- Made get_n_jobs private in utils/__init__.py
2014-09-24 19:58:21 +02:00
Florian Wilhelm
b0ab714699
Merge branch 'master' into theilsen
2014-09-24 19:30:39 +02:00
Danny Sullivan
39c87018b2
cleaning up commented out code and previous_coef_ parameter
2014-09-22 15:40:48 +02:00
swu
862d82111e
Modified hessp function in _multinomial_loss_grad_hess to compute r_yhat
...
in place.
Simplied conditional statements that branches based on solver +
multi_class input combinations.
Extended tests on multinomial LogisticRegression to include newton-cg
solver case.
Updated doc string of LogisticRegression to include newton-cg solver in
multinomial case.
2014-09-20 15:11:31 -04:00
Gael Varoquaux
95804316ef
Merge pull request #3678 from akshayah3/LinearReg
...
[MRG+1] Removed n_jobs parameter from the fit method and added it to constructor
2014-09-19 17:04:47 +02:00
akshayah3
c57e6ed6c7
PEP8 fixes
2014-09-19 20:10:29 +05:30