Classes | Functions | Variables
svm Namespace Reference

Classes

class  svm_model
 
class  svm_node
 
class  svm_parameter
 
class  svm_problem
 

Functions

def fillprototype (f, restype, argtypes)
 
def gen_svm_nodearray (xi, feature_max=None, isKernel=None)
 
def genFields (names, types)
 
def print_null (s)
 
def toPyModel (model_ptr)
 

Variables

list KERNEL_TYPE = ['LINEAR', 'POLY', 'RBF', 'SIGMOID', 'PRECOMPUTED']
 
 libsvm = CDLL(find_library('svm'))
 
 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

list svm.KERNEL_TYPE = ['LINEAR', 'POLY', 'RBF', 'SIGMOID', 'PRECOMPUTED']

Definition at line 23 of file svm.py.

svm.libsvm = CDLL(find_library('svm'))

Definition at line 10 of file svm.py.

svm.PRINT_STRING_FUN = CFUNCTYPE(None, c_char_p)

Definition at line 27 of file svm.py.

list svm.SVM_TYPE = ['C_SVC', 'NU_SVC', 'ONE_CLASS', 'EPSILON_SVR', 'NU_SVR' ]

Definition at line 22 of file svm.py.



ml_classifiers
Author(s): Scott Niekum , Joshua Whitley
autogenerated on Tue May 14 2019 02:28:35