#include <SvmApproximation.h>

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. | |
Definition at line 207 of file SvmApproximation.h.
| SvmApproximationModel::SvmApproximationModel | ( | Array< double > & | initVec | ) | [inline] |
| 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.
| input | Vector of input values. | |
| output | Vector of output values. |
Implements Model.
Definition at line 211 of file SvmApproximation.h.