Package PyML :: Package classifiers :: Module svm :: Class LinearSVModel
[frames] | no frames]

Class LinearSVModel

source code

object --+    
         |    
   SVModel --+
             |
            LinearSVModel

Instance Methods
 
__init__(self, data, svID, alpha, b, **args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code
 
decisionFunc(self, data, i) source code
 
computeW(self, data, svID, alpha) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

    Inherited from SVModel
 
__len__(self) source code
 
save(self, fileName) source code
 
setBias(self, bias) source code
Properties

Inherited from object: __class__

Method Details

__init__(self, data, svID, alpha, b, **args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

decisionFunc(self, data, i)

source code 
Overrides: SVModel.decisionFunc