Commit Graph

223 Commits

Author SHA1 Message Date
Andreas Mueller 6dd6f8ffe8 minor fixes to the doc build 2015-09-11 17:32:51 -04:00
TomDLT 94eb61960a ENH add sag solver in LogisticRegression and Ridge 2015-09-10 13:28:02 -04:00
Vighnesh Birodkar 2f099334f9 MAINT deprecate 1d input arrays for all estimators
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.

All Scaler classes also throw warnings when 1D arrays are passed.

All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.

Additional tests are also included which check for different 1D array cases.

2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Gael Varoquaux fb58d37846 Merge branch 'master' into pr_4009
Conflicts:
	sklearn/neighbors/ball_tree.c
	sklearn/neighbors/dist_metrics.c
	sklearn/neighbors/dist_metrics.pyx
	sklearn/neighbors/kd_tree.c
	sklearn/neighbors/tests/test_neighbors.py
2015-08-30 11:54:40 +01:00
Joel Nothman 99d08b571e DOC organise documentation hierarchy / table of contents 2015-06-12 08:09:41 +10:00
Lars Buitinck 567a956338 Merge branch 'pr/4714' + pep8 fixes
Conflicts:
	doc/modules/model_persistence.rst
	doc/modules/pipeline.rst
	doc/modules/svm.rst
	doc/tutorial/basic/tutorial.rst
	doc/tutorial/statistical_inference/supervised_learning.rst
	sklearn/svm/classes.py
2015-06-08 11:31:51 +02:00
Shivan Sornarajah 41788c353b Changed SVM to use gamma='auto' by default. Deprecated gamma=0.0. 2015-06-05 22:47:43 +01:00
Andreas Mueller 6d4bcda876 ENH refactor OVO decision function, use it in SVC for sklearn-like decision_function shape 2015-06-05 13:14:45 -04:00
Andreas Mueller 867da316ff DOC minor sphinx fixes 2015-06-04 16:29:19 -04:00
Christof Angermueller 0fe613ebab Add conventions section to userguide 2015-04-15 11:09:32 -04:00
Andreas Mueller deeaf0ad35 change default to shuffle=True in SGDClassifier and friends. 2015-03-03 11:56:23 -05:00
Andreas Mueller 9bc4de8dae some fixes for sphinx and in examples 2015-03-02 12:50:53 -05:00
Nikolay Mayorov 63039b24bc Added multithreading support for kneighbors search 2015-02-19 13:15:55 +03:00
Andreas Mueller e936dfa641 search C not gamma of linear svm in tutorial 2015-01-27 18:15:36 -05:00
Randall Mason 164381c3ea Spelling in heading newgroups -> newsgroups
The section title is "newgroups", this fixes it so that it matches the rest of the document.
2014-12-25 15:18:33 +02:00
Manoj-Kumar-S e915fcc3ab Changed default argument of precompute in ElasticNet and Lasso
Setting precompute to "auto" was found to be slower when n_samples > n_features
since the computation of the Gram matrix is computationally expensive and
outweighs the benefit of fitting the Gram for just one alpha.
2014-10-03 18:25:12 +02:00
akshayah3 4f2ff2dd7a Small PEP8 fix, n_jobs attribute is compatible with both fit method and the constructor 2014-09-19 15:32:06 +05:30
akshayah3 25c03a7ff8 Added Deprecation warning 2014-09-19 14:39:35 +05:30
jnothman 75e11c0b50 Merge pull request #3591 from MechCoder/refactor_logreg
[MRG] MAINT: Remove BaseLibLinear for LogisticRegression
2014-08-30 21:22:07 +10:00
MechCoder 34a4517983 ENH: Improved verbosity and denesting 2014-08-26 20:48:23 +02:00
MechCoder 959a4ac698 MAINT: Remove BaseLibLinear for LogisticRegression 2014-08-26 13:58:07 +02:00
Lars Buitinck 4b82379c20 TST fix doctest for k-NN 2014-08-25 23:49:56 +02:00
MechCoder 4cd177758f ENH: Merge MultinomialLR into LR with multi_class='multinomial' 2014-08-21 17:37:37 +02:00
Joel Nothman 763af9690a DOC fix line references in tutorial 2014-08-20 21:00:54 +10:00
Joel Nothman 341ca9323b DOC avoid the plot_ prefix in example where no plot
Also fix line reference
2014-08-20 21:00:54 +10:00
MechCoder cf4cf60b7e ENH Stochastic Coordinate Descent for ElasticNet & Lasso 2014-07-29 10:23:33 +02:00
MechCoder e4111290b6 ENH: Weighted logistic regression for lbfgs and newton-cg 2014-07-22 16:57:41 +02:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00
Olivier Grisel 2eb1e98eef MAINT ensure that examples figures are displayed in the correct order 2014-07-14 15:47:17 +02:00
Lars Buitinck c176ced74d DOC double backticks for fixed-width (code) font
Fixes #3337. Also other minor fixes while I was at it.
2014-07-06 14:18:33 +02:00
Olivier Grisel 3729143bd0 Typo 2014-07-04 15:11:56 +02:00
Olivier Grisel 9a4c9f2064 MAINT add docstring to explain the motivation of the fixture 2014-07-04 11:48:15 +02:00
Olivier Grisel ac45e5d03c MAINT skip tests that require large datadownload under travis 2014-07-02 13:50:47 +02:00
Raul Garreta df27e26156 model persistence doc, added improvements from ogrisel comments 2014-06-27 08:57:23 -03:00
Raul Garreta 8489c33010 added a new section on model persistence 2014-06-27 08:57:23 -03:00
Andreas Mueller 926e651f44 Stop using some deprecated interfaces. 2014-06-08 22:16:26 +02:00
Andreas Mueller 67b8601314 Minor fixes in the docs 2014-06-07 16:38:53 +02:00
Amos Waterland eb86ff8ecd Explain the -1 Python syntax. 2014-05-25 13:24:44 -06:00
Amos Waterland bf5798ea16 Remove extraneous period. 2014-05-25 13:10:45 -06:00
Amos Waterland 46d27f566b Use double backticks. 2014-05-25 13:08:38 -06:00
Amos Waterland 8f2e208503 Explicitly invoke the Python interpreter. 2014-05-25 13:03:47 -06:00
Alexandre Gramfort 1928f6f01e Merge pull request #3135 from ugurthemaster/patch-1
Update working_with_text_data.rst
2014-05-06 22:30:42 +02:00
ugurthemaster 880bf96cd3 Update working_with_text_data.rst
A few typos have been corrected.
2014-05-06 23:27:28 +03:00
Yoshiki Vázquez Baeza b965452902 DOC: Change URL-based link to sphinx :ref: 2014-04-17 15:35:31 -06:00
Yoshiki Vázquez Baeza a30b2fd54b DOC: Remove dead link
Link to installation instructions was pointed to a non-existant
location.
2014-04-17 13:39:13 -06:00
Aaron Schumacher b6eedcc210 DOC remove import scikits.learn from tutorial
I think this is mostly a distraction here;
probably better for readers to take it out.
2014-04-13 16:55:29 +02:00
Aaron Schumacher b906d5338c DOC: typo: 1e-2 is 0.01 not 100 2014-04-13 16:54:00 +02:00
Aaron Schumacher e6e7acffe7 typo: "requiered" -> "required" 2014-04-13 09:39:57 -04:00
Aaron Schumacher 60b3120338 target is response, not explanatory 2014-04-11 18:36:32 -04:00
Gael Varoquaux 3ac34554e4 MISC: documentation and cosmits
Address comments by @jnothman
2014-02-17 11:20:42 +01:00