Changeset 7310:423dfa5717a4 in orange


Ignore:
Timestamp:
02/03/11 12:17:02 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
9e1adb347e6c8d6d6fdf47a553bcaee808c72d8e
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/svm/__init__.py

    r7306 r7310  
    4141.. autoclass:: Orange.classification.svm.MeasureAttribute_SVMWeights 
    4242   :members: 
     43 
     44.. _kernel-wrapper: 
    4345 
    4446=============== 
     
    154156     
    155157class SVMLearner(_SVMLearner): 
    156     """:param svm_type: defines the type of SVM (can be C_SVC, Nu_SVC (default), OneClass, Epsilon_SVR, Nu_SVR) 
     158    """:param svm_type: defines the type of SVM (can be C_SVC, Nu_SVC  
     159        (default), OneClass, Epsilon_SVR, Nu_SVR) 
    157160    :type svm_type: SVMLearner.SVMType 
    158161    :param kernel_type: defines the type of a kernel to use for learning 
    159162        (can be kernels.RBF (default), kernels.Linear, kernels.Polynomial,  
    160163        kernels.Sigmoid, kernels.Custom) 
    161     :type kernel_type: classification.kernels.Kernel 
     164    :type kernel_type: kernel function, see :ref:`kernel-wrapper` 
    162165    :param degree: kernel parameter (for Polynomial) (default 3) 
    163166    :type degree: int 
     
    228231 
    229232    def __call__(self, examples, weight=0): 
     233        """Construct a SVM classifier 
     234         
     235        :param examples: data table with continuous features 
     236        :type examples: Orange.data.Table 
     237        :param weight: refer to `LibSVM documentation  
     238            <http://http://www.csie.ntu.edu.tw/~cjlin/libsvm/>`_ 
     239         
     240        """ 
    230241        examples = Orange.core.Preprocessor_dropMissingClasses(examples) 
    231242        if len(examples) == 0: 
Note: See TracChangeset for help on using the changeset viewer.