Package mvpa :: Package clfs :: Package libsvmc :: Module _svm :: Class SVMParameter
[hide private]
[frames] | no frames]

Class SVMParameter

source code


SVMParameter class safe to be deepcopied.
Nested Classes [hide private]
  _SVMCParameter
Internal class to to avoid memory leaks returning away svmc's params
Instance Methods [hide private]
 
__init__(self, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
untrain(self) source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
__copy__(self) source code
 
__deepcopy__(self, memo) source code
 
_clear_svmc_params(self) source code
 
param(self) source code
 
__del__(self) source code
 
_setParameter(self, key, value)
Not exactly proper one -- if lists are svmc_recompute, would fail anyways
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
_register_properties(cls) source code
Class Variables [hide private]
  default_parameters = {'svm_type': C_SVC, 'kernel_type': RBF, '...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)

param(self)

source code 
Decorators:
  • @property

Class Variable Details [hide private]

default_parameters

Value:
{'svm_type': C_SVC, 'kernel_type': RBF, 'degree': 3, 'gamma': 0, 'coef\
0': 0, 'nu': 0.5, 'cache_size': 100, 'C': 1, 'eps': 1e-3, 'p': 0.1, 's\
hrinking': 1, 'nr_weight': 0, 'weight_label': [], 'weight': [], 'proba\
bility': 0}