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 __all__
int C_SVC = 0
tuple dirname = path.dirname(path.abspath(__file__))
int EPSILON_SVR = 3
tuple libsvm = CDLL(path.join(dirname, r'..\windows\libsvm.dll'))
int LINEAR = 0
int NU_SVC = 1
int NU_SVR = 4
int ONE_CLASS = 2
int POLY = 1
int PRECOMPUTED = 4
tuple PRINT_STRING_FUN = CFUNCTYPE(None, c_char_p)
int RBF = 2
int SIGMOID = 3
 xrange = range

Function Documentation

def svm.fillprototype (   f,
  restype,
  argtypes 
)

Definition at line 51 of file svm.py.

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

Definition at line 63 of file svm.py.

def svm.genFields (   names,
  types 
)

Definition at line 48 of file svm.py.

def svm.print_null (   s)

Definition at line 45 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 295 of file svm.py.


Variable Documentation

Initial value:
00001 ['libsvm', 'svm_problem', 'svm_parameter',
00002            'toPyModel', 'gen_svm_nodearray', 'print_null', 'svm_node', 'C_SVC',
00003            'EPSILON_SVR', 'LINEAR', 'NU_SVC', 'NU_SVR', 'ONE_CLASS',
00004            'POLY', 'PRECOMPUTED', 'PRINT_STRING_FUN', 'RBF',
00005            'SIGMOID', 'c_double', 'svm_model']

Definition at line 11 of file svm.py.

int svm::C_SVC = 0

Definition at line 32 of file svm.py.

tuple svm::dirname = path.dirname(path.abspath(__file__))

Definition at line 18 of file svm.py.

Definition at line 35 of file svm.py.

tuple svm::libsvm = CDLL(path.join(dirname, r'..\windows\libsvm.dll'))

Definition at line 20 of file svm.py.

int svm::LINEAR = 0

Definition at line 38 of file svm.py.

int svm::NU_SVC = 1

Definition at line 33 of file svm.py.

int svm::NU_SVR = 4

Definition at line 36 of file svm.py.

int svm::ONE_CLASS = 2

Definition at line 34 of file svm.py.

int svm::POLY = 1

Definition at line 39 of file svm.py.

Definition at line 42 of file svm.py.

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

Definition at line 44 of file svm.py.

int svm::RBF = 2

Definition at line 40 of file svm.py.

int svm::SIGMOID = 3

Definition at line 41 of file svm.py.

svm::xrange = range

Definition at line 9 of file svm.py.



target_obejct_detector
Author(s): CIR-KIT
autogenerated on Thu Jun 6 2019 20:19:57