SvmApproximationModel Class Reference

Approximation of Support Vector Machines (SVMs). More...

#include <SvmApproximation.h>

Inheritance diagram for SvmApproximationModel:

Model

List of all members.

Public Member Functions

 SvmApproximationModel (Array< double > &initVec)
virtual void model (const Array< double > &input, Array< double > &output)
 Returns the model's answer output on the stimulus input.


Detailed Description

Approximation of Support Vector Machines (SVMs).

Definition at line 207 of file SvmApproximation.h.


Constructor & Destructor Documentation

SvmApproximationModel::SvmApproximationModel ( Array< double > &  initVec  )  [inline]

Definition at line 210 of file SvmApproximation.h.

References Model::parameter.


Member Function Documentation

virtual void SvmApproximationModel::model ( const Array< double > &  input,
Array< double > &  output 
) [inline, virtual]

Returns the model's answer output on the stimulus input.

This method calculates the output of the model depending on the input. The arrays input and output can either be one- or two-dimensional, depending on whether one or many patterns should be processed. The number of elements in the last dimension of these arrays must fit the inputDimension and outputDimension, in case of two-dimensional input, the number of elements in the first dimension equals the number of patterns. The method is pure virtual as it has to be implemented by the different models.

Parameters:
input Vector of input values.
output Vector of output values.
Returns:
None.

Implements Model.

Definition at line 211 of file SvmApproximation.h.


The documentation for this class was generated from the following file: