Commit Graph

236 Commits

Author SHA1 Message Date
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
giorgiop 328ebfa865 ENH RandomizedPCA collapsed into PCA 2016-03-11 09:10:37 +11:00
YenChenLin ca4c727e22 Fix misuse of it's 2016-02-26 10:16:28 +08:00
YenChenLin 46fc1be145 Remove redundant words in sklearn 2016-02-23 16:54:03 +08:00
SmedbergM 765f77e2c4 Read web pages as UTF-8 by default. Use with-blocks to open files. 2016-02-16 16:14:42 +01:00
Nelson Liu fcfaa5fc37 Updated examples and tests that use scipy's lena
scipy.misc.lena will be removed in scipy version 0.17.
This changes the example to use scipy.misc.face instead.
2016-02-11 09:13:40 +01:00
Paul Strickland ef307ecf9c Correct typo in ``decomposition.rst``. Merge latest changes. 2016-02-06 14:47:11 +00:00
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Rémy Léone 4d2fe36252 dict.has_key() deprecated 2015-11-19 17:16:44 +01:00
Taranjeet 34f9367bbf grammatical fix in tutorial.rst under basic category 2015-11-07 23:09:27 +05:30
Rémy Léone f8eb351121 Useless trailing semicolon 2015-11-01 19:56:29 +01:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
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