Classes | Functions | Variables
svm Namespace Reference

Classes

class  svm_model
class  svm_node
class  svm_parameter
class  svm_problem

Functions

def fillprototype
def gen_svm_nodearray
def genFields
def print_null
def toPyModel

Variables

list KERNEL_TYPE = ['LINEAR', 'POLY', 'RBF', 'SIGMOID', 'PRECOMPUTED']
tuple libsvm = CDLL(find_library('svm'))
tuple PRINT_STRING_FUN = CFUNCTYPE(None, c_char_p)
list SVM_TYPE = ['C_SVC', 'NU_SVC', 'ONE_CLASS', 'EPSILON_SVR', 'NU_SVR' ]

Function Documentation

def svm.fillprototype (   f,
  restype,
  argtypes 
)

Definition at line 34 of file svm.py.

def svm.gen_svm_nodearray (   xi,
  feature_max = None,
  isKernel = None 
)

Definition at line 43 of file svm.py.

def svm.genFields (   names,
  types 
)

Definition at line 31 of file svm.py.

def svm.print_null (   s)

Definition at line 28 of file svm.py.

def svm.toPyModel (   model_ptr)
toPyModel(model_ptr) -> svm_model

Convert a ctypes POINTER(svm_model) to a Python svm_model

Definition at line 267 of file svm.py.


Variable Documentation

Definition at line 23 of file svm.py.

tuple svm::libsvm = CDLL(find_library('svm'))

Definition at line 10 of file svm.py.

tuple svm::PRINT_STRING_FUN = CFUNCTYPE(None, c_char_p)

Definition at line 27 of file svm.py.

Definition at line 22 of file svm.py.



ml_classifiers
Author(s): Scott Niekum
autogenerated on Mon Oct 6 2014 02:20:58