Commit Graph

133 Commits

Author SHA1 Message Date
Andreas Mueller fb123ed24b More doc fixes. Latex builds again. 2015-11-20 16:30:45 -05:00
KamalakerDadi f2e35411fa Added more versions of 0.17 2015-11-04 00:02:52 +01:00
Raghav R V fffa98ad1f MAINT Remove deprecated stuff that will be removed in 0.18
MAINT Remove support for gamma == 0.0
MAINT Remove support for uppercase values for loss and penalty
2015-10-20 18:24:35 +02:00
Jiali Mei 85223b9bcc a common test to check if classifiers fail when fed regression targets 2015-10-14 14:46:13 -04:00
Lars edf077ccd6 Merge pull request #5050 from AnishShah/issue5043
DOC Fix documentation of callable kernel
2015-08-14 18:43:24 +02:00
Anish Shah a7081d797f [issue #5043] fix documentation of callable kernel 2015-08-14 15:40:03 +05:30
Andreas Mueller 7a3a9878f1 Fix memory access error in OneClassSVM 2015-08-06 13:11:57 -04:00
hlin117 c1c45487c5 fixed newline errors in documentation for LinearSVC and LinearSVR 2015-07-19 00:07:11 -07:00
hlin117 bd43b8e732 fixed newline errors in documentation for NuSVC 2015-07-19 00:07:11 -07:00
hlin117 8de86edbb1 fixed newline errors in documentation for SVC 2015-07-19 00:07:11 -07: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 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
Anthony Erlinger fafbddbb3e Improve wording of SVM `crammer_singer` doc following PR feedback.
https://github.com/scikit-learn/scikit-learn/pull/4631
2015-04-27 20:46:05 -04:00
Anthony Erlinger 20b188c06c Minor docstring fixes to svm/classes.py 2015-04-24 15:38:29 -04:00
Andreas Mueller 3f0fb6bbc4 DOC fix libsvm docstring consistency 2015-04-22 20:58:14 -04:00
Loïc Estève a13a5859e8 DOC remove sphinx warnings when generating the doc
and fixes a few other doc problems while I was at it.

The main take-home message is to remember that you need a backslash when
your parameter type description exceeds one line.
2015-03-18 15:49:30 +01:00
Raghav R V 354c35cd5b FIX Make LinearSVC/LinearSVR support the deprecated l1/L1, l2/L2 2015-02-25 19:12:27 +05:30
Andreas Mueller 8ef0b9a82f fixes in GMM, TSNE, MDS, LSHForest, exclude SpectralEmbedding 2015-02-10 18:34:31 -05:00
Fabian Pedregosa dbc5d707c6 Change loss names for LinearSVC and LinearSVR()
the names are now consistent across methods

In LinearSVC:
   'l1' -> 'hinge'
   'l2' -> 'squared_hinge'
In LinearSVR:
   'l1' -> 'epsilon_insensitive'
   'l2' -> 'squared_epsilon_insensitive'
2015-02-09 11:09:16 +01:00
Mario Michael Krell cee22175c2 DOC typos and consistency in SVM docstrings 2015-01-28 12:27:06 +01:00
Andreas Mueller c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
Sylvain Zimmer 14fe83c6af Fix typo in SVM docstrings 2014-12-24 00:07:18 -05:00
Lars Buitinck 73283e98d1 MAINT remove probability kwarg from SVR and NuSVR
These don't have predict_proba, so setting it to true makes no sense.
2014-12-17 10:07:48 +01:00
Fabian Pedregosa 7e1a0eee08 ENH LinearSVR using liblinear code
Fixes gh-3877.
2014-12-03 20:44:04 +01:00
Lars Buitinck bb3705c4fc DOC fix (Nu)SVR attribute shapes in docstring
Fixes #3673. Shapes were probably copy-pasted from (Nu)SVC.
XXX the attributes actually have strange shapes...
2014-10-12 17:24:38 +02:00
MechCoder 891839cd8d DOC: Explain prediction when decision_function is zero
LogisticRegression and liblinear's predictions differ when the
decision function is zero. Explain why and what to do in that case.

Fixes #3600 (by documenting the won't fix status).
2014-09-05 13:46:44 +02:00
MechCoder a7ccbb8096 MAINT: Made the following changes
1. Use a single loop for both ovr and multinomial conditions
2. Better warning messages for penalty and loss conditions
3. Convergence warnings print only if verbose > 0
4. Used check_X_y instead of check_X
2014-08-30 12:26:40 +02:00
MechCoder 959a4ac698 MAINT: Remove BaseLibLinear for LogisticRegression 2014-08-26 13:58:07 +02:00
jnothman e1891d801b Merge pull request #3489 from jnothman/attributes-doc
[MRG] DOC fix formatting of Attributes sections in documentation
2014-08-02 20:14:53 +10:00
MechCoder 3edfa3cf17 Max iter param in Liblinear is now softcoded 2014-08-01 12:15:57 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Lars Buitinck 86f8577826 DOC: clear up the big elastic net confusion (I hope)
Several users have asked for LogReg w/ E-net (e.g. #3023). Did some
additional copyediting.
2014-04-02 18:54:24 +02:00
Olivier Grisel a8089b0194 FIX: errors in kernel parameters for OneClassSVM 2013-11-12 14:05:02 +01:00
Joel Nothman a186bc434b DOC fix comment on svm probability param 2013-07-29 14:02:22 +02:00
Olivier Grisel 3be787e33a Add concrete __init__ for LinearSVM 2013-07-28 18:45:40 +02:00
Vlad Niculae 2d97949125 DOC update docstrings to reflect libsvm random_state 2013-07-27 19:50:25 +02:00
Vlad Niculae 89a58cdcad FIX support random state in libsvm 2013-07-27 19:50:25 +02:00
Andreas Mueller c2575435b6 DOC improve documentation of sample_weight, add to docstring. 2013-07-26 15:06:57 +02:00
Lars Buitinck 5482a73b7d DOC more explicit description of degree param on SVMs 2013-07-09 15:06:14 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Joel Nothman 9a8845e913 ENH Create FeatureSelectionMixin for shared [inverse_]transform code
Also rename FeatureSelectionMixin -> SelectorMixin -> _LearntSelectorMixin
And rename sklearn.feature_selection.{selector_mixin -> from_model}
2013-05-21 13:53:12 +10:00
Andreas Mueller 76bb083940 DOC Fixed documentation of kernel parameters: sigm uses gamma, but not degree. Closes #1972. 2013-05-19 16:53:30 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Lars Buitinck 7975ccbf3f COSMIT get rid of undocumented attributes on SVMs
sparse was superseded by _sparse; renamed impl to _impl.
2013-03-09 17:59:57 +01:00
Andreas Mueller b099d4669a DOC add random_state parameter to docs of LogisticRegression and LinearSVC 2013-03-01 11:54:58 +01:00
Lars Buitinck 6bf4c90c5d ENH sparsify method for L1-reg linear models
Currently implemented on LinearSVC, LR and SGD.
2013-02-23 12:11:56 +01:00
Andreas Mueller f25412fd5b ENH nu-SVC doesn't support class_weights 2013-01-03 13:29:46 +01:00