Commit Graph

141 Commits

Author SHA1 Message Date
Anish Shah a7081d797f [issue #5043] fix documentation of callable kernel 2015-08-14 15:40:03 +05:30
Lars Buitinck 1274e48216 TST fix failing doctest 2015-06-08 12:58:18 +02: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 eedc1cddab Use more natural class_weight="auto" heuristic 2015-06-01 12:49:53 -04:00
Barmaley.exe eff77f5437 DOC A small change to the SVM's tutorial 2015-03-13 01:29:07 +03:00
Barmaley.exe 9d4e47f1bb DOC Adds SVR description to the tutorial 2015-03-13 00:27:29 +03:00
Barmaley.exe dbe4971c14 Updates whats new and fixes the documentation 2015-03-03 03:15:51 +03: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
Helder d6a12c4479 Fix a typo on svm.rst 2014-12-24 13:58:37 -02: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
Xinfan Meng d96f196ac9 DOC Fix broken class references 2014-11-30 18:34:59 +11:00
MechCoder 3edfa3cf17 Max iter param in Liblinear is now softcoded 2014-08-01 12:15:57 +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
Daiki Aminaka 03a78d573d fix typo (on -> one) 2014-07-02 22:18:30 +09:00
Lars Buitinck 0a3a67777d DOC SVMs take string class labels as well as integers
http://stackoverflow.com/a/24512272/166749
2014-07-01 16:34:09 +02:00
Rohit Sivaprasad 7a5d4b4629 DOC typo in SVM narrative
Fixes #2465.
2013-09-21 17:41:37 +02:00
Vlad Niculae 2d97949125 DOC update docstrings to reflect libsvm random_state 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
Andreas Mueller edb2ff7be3 COSMIT sphinx fixes 2013-07-23 15:02:10 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03: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
A. Flaxman a9b93a2c86 DOC: latex beautification
use \langle and \rangle for inner product, instead of < and >
2013-05-07 08:08:36 +02:00
Lars Buitinck 5eb035c7e7 DOC further comments on SVM probabilities 2013-03-30 12:13:18 +01:00
Lars Buitinck b1a97ded84 DOC describe SVM probability calibration (and advise against it) 2013-03-29 15:55:55 +01:00
Lars Buitinck 7267e4e308 COSMIT rm deprecated svm.sparse module 2013-01-22 02:15:56 +01:00
Vlad Niculae ee5811b5dd DOC: fixed latex and formatting in SVM docs 2013-01-11 21:04:37 +00:00
Andreas Mueller 0dd3e13771 FIX remaining doctests 2013-01-03 13:21:51 +01:00
Andreas Mueller 7613fa9c40 DOC small example / doctest for kernel approximation. 2012-10-23 15:44:40 +02:00
Gael Varoquaux f711bf2c2b TST: fix doctest 2012-10-16 23:33:09 +02:00
Andreas Mueller 51b06b8203 FIX doctests for max_iter 2012-10-16 16:46:48 +02:00
Lars Buitinck 40d139946d DOC LaTeX error in SVM narrative docs 2012-10-06 12:54:12 +02:00
Andreas Mueller 4e7d9962f6 ENH fixed doctests, addressed comments. 2012-06-15 19:31:47 +02:00
Andreas Mueller 43667669e1 DOC user guide pdf building. Kicked out a formular that rendered neither in html nor latex. Please don't hit me. 2012-06-04 23:40:17 +02:00
Alexandre Gramfort 7e40dc73e2 update tip on svm C param 2012-05-22 15:31:16 +02:00
Daniel Duckworth 06622a9566 Fixed location of ".. _svm_mathematical_formulation:" in svm.rst 2012-05-14 00:03:10 -07:00
Daniel Duckworth 43c39f4ea8 Added plot_rbf_parameters example to SVM doc 2012-05-13 14:19:17 -07:00
Alexandre Gramfort 15455263b7 API : change back default C to 1. explicitely and epsilon 0.1 2012-05-05 21:57:04 +02:00
Andreas Mueller 5edfa06019 DOC docs and examples have scale_C removed 2012-05-05 21:57:04 +02:00
David Warde-Farley 5f6d012b39 Fix math notation for exp and tanh.
Typically one uses \exp and \tanh, otherwise LaTeX/mathtex renders it as
if e, x, p or t, a, n, h are all separate variables being multiplied.
2012-04-18 15:41:01 -04:00
GaelVaroquaux 7e4ea9e4db BUG fix LinearSVM doctest 2012-04-13 08:15:42 +02:00
Nick Wilson c90a329080 Add verbose parameter to SVMs (fixes #250)
Add a verbose parameter to SVMs to get verbose output from libsvm
printed to stdout while fitting a model.

Note that this setting takes advantage of a per-process runtime setting
in libsvm that, if enabled, may not work properly in a multithreaded
context.
2012-03-15 00:16:06 -07:00
Alexandre Gramfort c920fd8186 API: use C=None by default in libsvm/liblinear bindings so (C=1, scale_C=False) which is libsvm default == (C=None, scale_C=True) which is the scikit default 2012-03-07 15:34:24 +01:00
Andreas Mueller 5a88e0c904 Merge pull request #673 from amueller/crammer_singer_rename
MRG rename parameter "multi_class" of LinearSVC to "crammer_singer"
2012-03-04 05:51:35 -08:00
Andreas Mueller bd5833112c DOC added one more sentence about crammer-singer 2012-03-04 13:29:26 +01:00
Andreas Mueller 06e726c542 MISC changed parameter name back but changed semantics, as @mbondel suggested. 2012-03-04 12:50:35 +01:00
Andreas Mueller 3fd35714d8 DOC minor addition to SVM kernel parameters 2012-03-03 22:39:31 +01:00