| Home | Trees | Indices | Help |
|
|---|
|
|
The ShogunSVMNode works as a wrapper class for accessing the shogun library for support vector machines.
|
|||
| Inherited from Node | |||
|---|---|---|---|
|
__metaclass__ This Metaclass is meant to overwrite doc strings of methods like execute, stop_training, inverse with the ones defined in the corresponding private methods _execute, _stop_training, _inverse, etc... |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Inherited from Node | |||
|---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
default_parameters =
|
|||
kernel_parameters =
|
|||
|
|||
|
Inherited from |
|||
| Inherited from Node | |||
|---|---|---|---|
|
_train_seq List of tuples: [(training-phase1, stop-training-phase1), (training-phase2, stop_training-phase2), ... |
|||
|
dtype dtype |
|||
|
input_dim Input dimensions |
|||
|
output_dim Output dimensions |
|||
|
supported_dtypes Supported dtypes |
|||
|
|||
Keyword arguments:
classifier -- The classifier to use
classifier_options -- Options for the classifier
kernel -- The kernel to use. Default parameters are specified for
"PolyKernel"
"GaussianKernel"
"LinearKernel"
"SigmoidKernel"
Further kernels are possible if they are included in shogun
and if kernel_options provides the correct init arguments.
kernel_options -- For known kernels, a dict specifying the options is possible,
options not included take a default value.
Unknown kernels need an ordered list of constructor arguments.
num_threads -- The number of threads, shogun should use
can be set to "autodetect", then shogun will use the number of cpu cores.
Attention: this could crash on windows
|
|
|
|
Classify the input data 'x'
|
Sets and initialises the classifier. If a classifier is reset by the user, the parameters will have to be set again. 'name' can be a string, a subclass of shogun.Classifier or an instance of such a class |
Sets parameters for the classifier.
|
Sets the Kernel along with options.
|
Shows the set of data that has been inserted to be trained. |
|
|||
default_parameters
|
kernel_parameters
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Oct 9 06:08:50 2009 | http://epydoc.sourceforge.net |