Changeset 7310:423dfa5717a4 in orange
 Timestamp:
 02/03/11 12:17:02 (3 years ago)
 Branch:
 default
 Convert:
 9e1adb347e6c8d6d6fdf47a553bcaee808c72d8e
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

orange/Orange/classification/svm/__init__.py
r7306 r7310 41 41 .. autoclass:: Orange.classification.svm.MeasureAttribute_SVMWeights 42 42 :members: 43 44 .. _kernelwrapper: 43 45 44 46 =============== … … 154 156 155 157 class 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) 157 160 :type svm_type: SVMLearner.SVMType 158 161 :param kernel_type: defines the type of a kernel to use for learning 159 162 (can be kernels.RBF (default), kernels.Linear, kernels.Polynomial, 160 163 kernels.Sigmoid, kernels.Custom) 161 :type kernel_type: classification.kernels.Kernel164 :type kernel_type: kernel function, see :ref:`kernelwrapper` 162 165 :param degree: kernel parameter (for Polynomial) (default 3) 163 166 :type degree: int … … 228 231 229 232 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 """ 230 241 examples = Orange.core.Preprocessor_dropMissingClasses(examples) 231 242 if len(examples) == 0:
Note: See TracChangeset
for help on using the changeset viewer.