Model Class Reference

Base class of all models. More...

#include <Model.h>

Inheritance diagram for Model:

AffineLinearMap ComponentWiseModel CVModel ExpNorm FFNet KalmanFilter KernelFunction KernelMeanClassifier KernelNearestNeighbor LinearClassifier LinearEquation LinearMap LinNorm MetaSVM ModelInterface ModelWithErrorFunction MSERNNet MultiClassSVM Paraboloid RBFNet SigmoidModel SimpleSigmoidModel SVM SvmApproximationModel

List of all members.

Public Member Functions

 Model ()
 Constructor.
virtual ~Model ()
 Destructor.
virtual void model (const Array< double > &input, Array< double > &output)=0
 Returns the model's answer output on the stimulus input.
void model (const Array< double > &input, Array< double > &output) const
 Do a model evaluation on a const object.
virtual void modelDerivative (const Array< double > &input, Array< double > &derivative)
 Calculates the derivative of the model output with respect to the parameters.
void modelDerivative (const Array< double > &input, Array< double > &derivative) const
 Compute the model derivative on a const object.
virtual void modelDerivative (const Array< double > &input, Array< double > &output, Array< double > &derivative)
 Calculates the model output and the derivative of the model output with respect to the parameters.
void modelDerivative (const Array< double > &input, Array< double > &output, Array< double > &derivative) const
 Compute the model derivative on a const object.
virtual void generalDerivative (const Array< double > &input, const Array< double > &coefficient, Array< double > &derivative)
 Calculates the model's general derivative.
void generalDerivative (const Array< double > &input, const Array< double > &coefficient, Array< double > &derivative) const
 general derivative for a const object
virtual bool isFeasible ()
 check whether the parameters define a feasible model
bool isFeasible () const
 check whether the parameters define a feasible model on a const object
const unsigned int getInputDimension () const
 Returns the dimension of the model input.
const unsigned int getOutputDimension () const
 Returns the dimension of the model output.
const unsigned int getParameterDimension () const
 Returns the number of optimizable model parameters, i.e.
virtual double getParameter (unsigned int index) const
 Returns a specific model parameter.
virtual void setParameter (unsigned int index, double value)
 Modifies a specific model parameter.
void setEpsilon (double eps)
 Sets the value of epsilon.
ModelClone ()
 Copy the model.
virtual void read (std::istream &is)
 Read the model parameters from a stream.
virtual void write (std::ostream &os) const
 Write the model parameters to a stream.
bool load (const char *filename)
 Read the model parameters from a file.
bool save (const char *filename)
 Write the model parameters to a file.

Protected Member Functions

virtual ModelCloneI ()
 Clone the class of the model.

Protected Attributes

Array< double > parameter
 Model parameter vector.
unsigned int inputDimension
 Dimension of the data accepted by the model as input.
unsigned int outputDimension
 Dimension of the model output per single input pattern.
double epsilon
 Precision parameter for the numerical error gradient approximation.

Friends

std::istream & operator>> (std::istream &is, Model &model)
 Read the model parameters from a stream.
std::ostream & operator<< (std::ostream &os, const Model &model)
 Write the model parameters to a stream.


Detailed Description

Base class of all models.

ReClaM provides the three base classes Model, ErrorFunction and Optimizer which make up the ReClaM framework for solving regression and classification tasks. This design overrides the ModelInterface design which is kept for backwards compatibility.
The Model class encapsulates a data processing trainable model. Its internal state is described by an array of parameters.
A model can be thought of as a parameterized family of mappings

\[ f_p : \mathcal{R}^n \rightarrow \mathcal{R}^m \]

where n and m are the input and output dimensions, respectively. The important special case m=1 is not treated separatly, that is, the trivial output coordinate of 0 has to be supplied for all array operations.

Models can be operated in two modes:
  • The model is presented a single input pattern, that is, a one dimensional input array. It produces one output pattern, that is, a one dimensional output array.
  • The model is presented a set of input patterns (batch mode), that is, a two dimensional input array. The first index corresponds to the pattern index, such that input[i] is the i-th input pattern. The model's answer is a two dimensional output array where again the first index corresponds the pattern index, that is, output[i] is the answer of the model to the input pattern input[i].
For gradient based optimization the derivative of the model output with respect to the parameters has to be computed. For the derivative, two rules apply: First, the derivative can only be computed for a single input pattern, that is, not for a batch of patterns. Second, the derivative has the same dimension as the output plus one dimension for the parameters. The parameter dimension always comes last. Thus, the derivative array is two dimensional. The first dimension represents the model output dimension. The second dimension is indexed by the model parameters. If the derivative of a whole batch of input patterns is needed (as it is usually the case for error derivative computations), the derivative has to be computes sequentially for each input pattern at a time.
When deriving a sub class from Model, the following has to be considered:
  • The model(...) member must be overloaded to compute the model's predictions. For differentiable models, the modelDerivative members should be overloaded, too.
  • The members inputDimension and outputDimension must be set in the constructor. Further, the parameter vector has to be resized accordingly.
  • If the model uses an internal parameter representation which differs from the parameter vector, setParameter(...) should be overloaded in order to keep the parameter values consistent with the parameter member.
Examples:

KernelOptimization.cpp.

Definition at line 134 of file Model.h.


Constructor & Destructor Documentation

Model::Model (  ) 

Constructor.

Definition at line 46 of file Model.cpp.

References epsilon.

Model::~Model (  )  [virtual]

Destructor.

Definition at line 51 of file Model.cpp.


Member Function Documentation

Model* Model::Clone (  )  [inline]

Copy the model.

The Clone method first calls the virtual CloneI() method and then copies its parameters to the new model. Per definition, this is sufficient to obtain a copy of the model. The method may return NULL if the type of model does not support cloning.
Author:
T. Glasmachers
Date:
2008

Definition at line 401 of file Model.h.

References CloneI(), getParameter(), getParameterDimension(), and setParameter().

virtual Model* Model::CloneI (  )  [inline, protected, virtual]

Clone the class of the model.

This method returns a new object of the same type like the current model. In most cases it is sufficient to return new MyModel(). However, complex models may manage additional information beyond their parameter vector. These information must be copied by CloneI in order to make Clone work correctly. If cloning fails, the method is required to return a NULL pointer.
Author:
T. Glasmachers
Date:
2008

Definition at line 426 of file Model.h.

Referenced by Clone().

void Model::generalDerivative ( const Array< double > &  input,
const Array< double > &  coefficient,
Array< double > &  derivative 
) const [inline]

general derivative for a const object

Definition at line 305 of file Model.h.

References generalDerivative().

void Model::generalDerivative ( const Array< double > &  input,
const Array< double > &  coefficient,
Array< double > &  derivative 
) [virtual]

Calculates the model's general derivative.

After a call of model, generalDerivative calculates the gradient $\sum_i c_i\, \frac{\partial}{\partial p^j} f^i_p(x)$ and stores it in derivative. Here $x$ is some input pattern, and $p$ denotes the parameter vector of the model and $p^j$ its $p$th component. The index $i$ indicates the $i$th output. The coefficients $c_i$ can be chosen freely.

The point of this function is that for many models, the complexity of calculating this linear combination of gradients is the same as of calculating a single output gradient

\[ \frac{\partial}{\partial p} f^i_p(x) \]

Via the chain rule, the gradient of _any_ (e.g., error) functional can be calculated.

Example 1: Let $c_i=f^i_p(x)-t^i$, then

\[ \sum_i c_i\, \frac{\partial}{\partial p^j} f^i_p(x) = \frac{\partial}{\partial p^j}\, \Big[ \frac{1}{2}\, \sum_i(f^i_p(x)-t^i)^2 \Big] \]

is the parameter gradient of an MSE with respect to target values $t^i$ As above, the index $i$ runs over the outputs.

Example 2: Let $c_i=\delta_{il}$, then the gradients of only the $l$th output will be calculated:

\[ \frac{\partial}{\partial p^j} f^l_p(x) \]

and

\[ \frac{\partial}{\partial x} f^l_p(x) \]

The default implementation is the computationally inefficient usage of modelDerivative.

Parameters:
input the corefficients $c_i$ in the formula above.
coefficient the corefficients $c_i$ in the formula above.
derivative the calculated model's general derivative.
Returns:
None.
Author:
M. Toussaint, C. Igel
Date:
2002

Reimplemented in FFNet.

Definition at line 88 of file Model.cpp.

References getOutputDimension(), getParameterDimension(), and modelDerivative().

Referenced by DF_MeanSquaredError::errorDerivative(), DF_CrossEntropyIndependent::errorDerivative(), DF_CrossEntropy::errorDerivative(), and generalDerivative().

const unsigned int Model::getInputDimension (  )  const [inline]

const unsigned int Model::getOutputDimension (  )  const [inline]

double Model::getParameter ( unsigned int  index  )  const [virtual]

const unsigned int Model::getParameterDimension (  )  const [inline]

Returns the number of optimizable model parameters, i.e.

the dimension of the parameter array.

Definition at line 349 of file Model.h.

References parameter.

Referenced by Clone(), ComponentWiseModel::ComponentWiseModel(), GeneralGaussKernel::computeGamma(), DiagGaussKernel::computeGamma(), CVModel::CVModel(), GaussianProcessEvidence::dEvidenceDTheta(), MSERBFNet::error(), SquaredError::errorDerivative(), SpanBound1::errorDerivative(), RadiusMargin::errorDerivative(), NegativePolarization::errorDerivative(), NegativeLogLikelihood::errorDerivative(), MSERBFNet::errorDerivative(), MSEFFNet::errorDerivative(), MeanSquaredError::errorDerivative(), LMSEFFNet::errorDerivative(), NegativeBKTA::errorDerivative(), NegativeKTA::errorDerivative(), InverseClassSeparability::errorDerivative(), ErrorFunction::errorDerivative(), DF_MeanSquaredError::errorDerivative(), DF_CrossEntropy::errorDerivative(), CVError::errorDerivative(), CrossEntropyIndependent::errorDerivative(), CrossEntropy::errorDerivative(), GeneralGaussKernel::eval(), WeightedSumKernel2::evalDerivative(), WeightedSumKernel::evalDerivative(), NormalizedKernel::evalDerivative(), KernelFunction::evalDerivative(), GeneralGaussKernel::evalDerivative(), ExpNorm::ExpNorm(), generalDerivative(), GeneralGaussKernel::getTransformation(), CMAOptimizer::Ind2Model(), SteepestDescent::init(), NestedGridSearch::init(), CMAOptimizer::init(), CG::init(), BFGS::initBfgs(), IRpropMinus::initUserDefined(), IRpropPlus::initUserDefined(), RpropMinus::initUserDefined(), RpropPlus::initUserDefined(), QuickpropOriginal::initUserDefined(), Quickprop::initUserDefined(), NoisyRprop::initUserDefined(), AdpBP90b::initUserDefined(), AdpBP90a::initUserDefined(), KernelMeanClassifier::KernelMeanClassifier(), KernelNearestNeighbor::KernelNearestNeighbor(), LinNorm::LinNorm(), MetaSVM::MetaSVM(), ComponentWiseModel::model(), C_SVM::modelDerivative(), LinNorm::modelDerivative(), ExpNorm::modelDerivative(), AffineLinearMap::modelDerivative(), LinearMap::modelDerivative(), FFNet::modelDerivative(), ComponentWiseModel::modelDerivative(), NormalizedKernel::NormalizedKernel(), SteepestDescent::optimize(), IRpropMinus::optimize(), IRpropPlus::optimize(), RpropMinus::optimize(), RpropPlus::optimize(), QuickpropOriginal::optimize(), Quickprop::optimize(), NoisyRprop::optimize(), PointSearch::optimize(), NestedGridSearch::optimize(), CMAOptimizer::optimize(), AdpBP90b::optimize(), AdpBP90a::optimize(), and C_SVM::PrepareDerivative().

bool Model::isFeasible (  )  const [inline]

check whether the parameters define a feasible model on a const object

Definition at line 329 of file Model.h.

References isFeasible().

bool Model::isFeasible (  )  [virtual]

check whether the parameters define a feasible model

The default implementation returns true, that is, every parameter configuration is considered feasible and unconstrained optimization is applicable. It is the Optimizer's responsibility to check the isFeasible() flag.

Returns:
true if the model is feasible, false otherwise
Author:
T. Glasmachers
Date:
2006

Reimplemented in ComponentWiseModel, CVModel, GaussianProcess, PolynomialKernel, RBFKernel, NormalizedKernel, WeightedSumKernel, WeightedSumKernel2, SimpleSigmoidModel, MetaSVM, C_SVM, Epsilon_SVM, OneClassSVM, RegularizationNetwork, AllInOneMcSVM, CrammerSingerMcSVM, OVAMcSVM, and OCCMcSVM.

Definition at line 109 of file Model.cpp.

Referenced by MetaSVM::isFeasible(), isFeasible(), NormalizedKernel::isFeasible(), CVModel::isFeasible(), ComponentWiseModel::isFeasible(), IRpropMinus::optimize(), IRpropPlus::optimize(), RpropMinus::optimize(), RpropPlus::optimize(), NoisyRprop::optimize(), PointSearch::optimize(), NestedGridSearch::optimize(), GridSearch::optimize(), and CMAOptimizer::optimize().

bool Model::load ( const char *  filename  ) 

Read the model parameters from a file.

Author:
T. Glasmachers
Date:
2006

Definition at line 163 of file Model.cpp.

References read().

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

Do a model evaluation on a const object.

Definition at line 165 of file Model.h.

References model().

virtual void Model::model ( const Array< double > &  input,
Array< double > &  output 
) [pure 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.

Implemented in ComponentWiseModel, CVModel, FFNet, KalmanFilter, KernelFunction, KernelMeanClassifier, KernelNearestNeighbor, LinearEquation, LinearMap, AffineLinearMap, LinearClassifier, MSERNNet, ExpNorm, LinNorm, Paraboloid, RBFNet, SigmoidModel, SimpleSigmoidModel, SVM, MultiClassSVM, MetaSVM, and SvmApproximationModel.

Referenced by WTA::error(), SquaredError::error(), NegativeLogLikelihood::error(), MSEFFNet::error(), MeanSquaredError::error(), LMSEFFNet::error(), ErrorPercentage::error(), DF_MeanSquaredError::error(), DF_CrossEntropyIndependent::error(), DF_CrossEntropy::error(), CrossEntropy::error(), ZeroOneLoss::error(), BalancedClassificationError::error(), ClassificationError::error(), BinaryCriterion::error(), DF_MeanSquaredError::errorDerivative(), DF_CrossEntropyIndependent::errorDerivative(), DF_CrossEntropy::errorDerivative(), MetaSVM::model(), LinNorm::model(), ExpNorm::model(), model(), ComponentWiseModel::model(), LinNorm::modelDerivative(), modelDerivative(), and ROC::ROC().

void Model::modelDerivative ( const Array< double > &  input,
Array< double > &  output,
Array< double > &  derivative 
) const [inline]

Compute the model derivative on a const object.

Definition at line 236 of file Model.h.

References modelDerivative().

void Model::modelDerivative ( const Array< double > &  input,
Array< double > &  output,
Array< double > &  derivative 
) [virtual]

Calculates the model output and the derivative of the model output with respect to the parameters.

This method performs the calculation of the model output with respect to the model parameters. Sometimes this calculation can only be performed based on a single input pattern; therefore input must be a onedimensional array. As a default implementation, the derivatives are estimated numerically by using small variations epsilon:

\[\frac{\partial f_j(x, p)}{\partial p_i} = \frac{f_j(x, p + \epsilon e_i) - f_j(x, p)}{\epsilon} + O(\epsilon) \]

However, to improve the speed, it is adviserable to overload this method by a more sophisticated calculation, depending on the method model. Nevertheless, this default implementation can be used to check new implementations of the derivative of the model with respect to the parameters.

Parameters:
input Vector of input values.
output Vector of model output.
derivative Matrix of partial derivatives.

Reimplemented in ComponentWiseModel, CVModel, FFNet, KernelFunction, MSEFFNet, RBFNet, SigmoidModel, SimpleSigmoidModel, and SVM.

Definition at line 82 of file Model.cpp.

References model(), and modelDerivative().

void Model::modelDerivative ( const Array< double > &  input,
Array< double > &  derivative 
) const [inline]

Compute the model derivative on a const object.

Definition at line 200 of file Model.h.

References modelDerivative().

void Model::modelDerivative ( const Array< double > &  input,
Array< double > &  derivative 
) [virtual]

Calculates the derivative of the model output with respect to the parameters.

This method performs the calculation of the model output with respect to the model parameters. Sometimes this calculation can only be performed based on a single input pattern; therefore input must be a onedimensional array. As a default implementation, the derivatives are estimated numerically by using small variations epsilon:

\[\frac{\partial f_j(x, p)}{\partial p_i} = \frac{f_j(x, p + \epsilon e_i) - f_j(x, p)}{\epsilon} + O(\epsilon) \]

However, to improve the speed, it is adviserable to overload this method by a more sophisticated calculation, depending on the method model. Nevertheless, this default implementation can be used to check new implementations of the derivative of the model with respect to the parameters.

Parameters:
input Vector of input values.
derivative Matrix of partial derivatives.

Reimplemented in ComponentWiseModel, CVModel, FFNet, KernelFunction, LinearMap, AffineLinearMap, MSEFFNet, ExpNorm, LinNorm, Paraboloid, RBFNet, SigmoidModel, SimpleSigmoidModel, SVM, and C_SVM.

Definition at line 56 of file Model.cpp.

References epsilon, getParameter(), model(), parameter, and setParameter().

Referenced by SquaredError::errorDerivative(), NegativeLogLikelihood::errorDerivative(), MeanSquaredError::errorDerivative(), CrossEntropyIndependent::errorDerivative(), CrossEntropy::errorDerivative(), VarianceEstimator::estimateFisherInformation(), VarianceEstimator::estimateInvFisher(), VarianceEstimator::estimateVariance(), VarianceEstimator::estimateVarianceChange(), generalDerivative(), LinNorm::modelDerivative(), ExpNorm::modelDerivative(), modelDerivative(), and VarianceEstimator::overallVariance().

void Model::read ( std::istream &  is  )  [virtual]

Read the model parameters from a stream.

The model parameters are read from a text stream. The single numbers are separated with a single space character. The line break CR/LF is used as an end marker. The setParameter member is used to set the parameter values in order to support models that override the parameter manegement. This virtual method is called by the stream operator.

Author:
C. Igel
Date:
2009

Reimplemented in FFNet, and RBFNet.

Definition at line 124 of file Model.cpp.

References parameter, and setParameter().

Referenced by load(), and operator>>().

bool Model::save ( const char *  filename  ) 

Write the model parameters to a file.

Author:
T. Glasmachers
Date:
2006

Definition at line 173 of file Model.cpp.

References write().

void Model::setEpsilon ( double  eps  )  [inline]

Sets the value of epsilon.

The value of epsilon is utilized for a numeric estimation of the derivative of the error, with respect to the model parameters. epsilon should be choosen as a small value. The default value is epsilon = 1e-8.

Parameters:
epsilon New value for epsilon.
Returns:
None.
Author:
C. Igel
Date:
1999
Changes
none
Status
stable

Definition at line 383 of file Model.h.

References epsilon.

void Model::setParameter ( unsigned int  index,
double  value 
) [virtual]

Modifies a specific model parameter.

Reimplemented in CVModel, PolynomialKernel, NormalizedKernel, WeightedSumKernel, WeightedSumKernel2, KernelMeanClassifier, KernelNearestNeighbor, LinearClassifier, ExpNorm, LinNorm, RBFNet, MetaSVM, C_SVM, Epsilon_SVM, and OneClassSVM.

Definition at line 119 of file Model.cpp.

References parameter.

Referenced by BFGS::bfgs(), SvmApproximation::calcOptimalAlphaOfApproximatedSVM(), Clone(), NoisySvmLikelihood::error(), NoisySvmLikelihood::errorDerivative(), ErrorFunction::errorDerivative(), CMAOptimizer::ModelFitness::fitness(), SVM::ImportLibsvmModel(), CMAOptimizer::Ind2Model(), NestedGridSearch::init(), BFGS::initBfgs(), ComponentWiseModel::model(), modelDerivative(), ComponentWiseModel::modelDerivative(), SVM_Optimizer::optimize(), SteepestDescent::optimize(), SigmoidFit::optimize(), IRpropMinus::optimize(), IRpropPlus::optimize(), RpropMinus::optimize(), RpropPlus::optimize(), QuickpropOriginal::optimize(), Quickprop::optimize(), Perceptron::optimize(), PCA::optimize(), NoisyRprop::optimize(), LinearRegression::optimize(), LDA::optimize(), PointSearch::optimize(), NestedGridSearch::optimize(), GridSearch::optimize(), CMAOptimizer::optimize(), CG::optimize(), AdpBP90b::optimize(), AdpBP90a::optimize(), read(), MetaSVM::setParameter(), LinNorm::setParameter(), ExpNorm::setParameter(), KernelNearestNeighbor::setParameter(), KernelMeanClassifier::setParameter(), NormalizedKernel::setParameter(), NormalizedRBFKernel::setSigma(), RBFKernel::setSigma(), and GaussianProcess::train().

void Model::write ( std::ostream &  os  )  const [virtual]

Write the model parameters to a stream.

The model parameters are written to a text stream. The single numbers are separated with a single space character. The line break CR/LF is used as an end marker. This virtual method is called by the stream operator.

Author:
C. Igel
Date:
2009

Reimplemented in FFNet, and RBFNet.

Definition at line 149 of file Model.cpp.

References parameter.

Referenced by operator<<(), and save().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Model model 
) [friend]

Write the model parameters to a stream.

The model parameters are written to a text stream. The single numbers are separated with a single space character. The line break CR/LF is used as an end marker.

Author:
T. Glasmachers
Date:
2006

Definition at line 192 of file Model.cpp.

std::istream& operator>> ( std::istream &  is,
Model model 
) [friend]

Read the model parameters from a stream.

The model parameters are read from a text stream. The single numbers are separated with a single space character. The line break CR/LF is used as an end marker. The setParameter member is used to set the parameter values in order to support models that override the parameter manegement.

Author:
T. Glasmachers
Date:
2006

Definition at line 185 of file Model.cpp.


Member Data Documentation

double Model::epsilon [protected]

Precision parameter for the numerical error gradient approximation.

Reimplemented in Epsilon_SVM.

Definition at line 445 of file Model.h.

Referenced by KernelFunction::evalDerivative(), ExpNorm::ExpNorm(), LinNorm::LinNorm(), Model(), modelDerivative(), and setEpsilon().

unsigned int Model::inputDimension [protected]

unsigned int Model::outputDimension [protected]

Array<double> Model::parameter [protected]

Model parameter vector.

parameter is a 1-dimensional array with the number of elements equal to the number of free parameters of the model (i.e., equal to the number of weights of a neural network).

Definition at line 436 of file Model.h.

Referenced by AffineLinearMap::AffineLinearMap(), AllInOneMcSVM::AllInOneMcSVM(), SvmApproximation::calcOffsetForReducedModel(), SvmApproximation::calcOptimalAlphaOfApproximatedSVM(), ComponentWiseModel::ComponentWiseModel(), GeneralGaussKernel::computeGamma(), DiagGaussKernel::computeGamma(), CrammerSingerMcSVM::CrammerSingerMcSVM(), CVModel::CVModel(), DiagGaussKernel::DiagGaussKernel(), Paraboloid::error(), Paraboloid::errorDerivative(), NormalizedRBFKernel::eval(), RBFKernel::eval(), PolynomialKernel::eval(), GeneralGaussKernel::eval(), DiagGaussKernel::eval(), NormalizedRBFKernel::evalDerivative(), RBFKernel::evalDerivative(), GeneralGaussKernel::evalDerivative(), DiagGaussKernel::evalDerivative(), ExpNorm::ExpNorm(), GeneralGaussKernel::GeneralGaussKernel(), SigmoidModel::get_A(), SigmoidModel::get_B(), CrammerSingerMcSVM::get_beta(), OCCMcSVM::get_C(), OVAMcSVM::get_C(), AllInOneMcSVM::get_C(), RegularizationNetwork::get_gamma(), SimpleSigmoidModel::get_s(), KalmanFilter::get_x_p(), MultiClassSVM::getAlpha(), SVM::getAlpha(), MultiClassSVM::getOffset(), SVM::getOffset(), getParameter(), getParameterDimension(), LinearEquation::getSolution(), GeneralGaussKernel::getTransformation(), SvmApproximation::gradientDescent(), SVM::ImportLibsvmModel(), SVM::ImportSvmlightModel(), Paraboloid::init(), RBFNet::initRBFNet(), OCCMcSVM::isFeasible(), OVAMcSVM::isFeasible(), CrammerSingerMcSVM::isFeasible(), AllInOneMcSVM::isFeasible(), RegularizationNetwork::isFeasible(), SimpleSigmoidModel::isFeasible(), RBFKernel::isFeasible(), PolynomialKernel::isFeasible(), GaussianProcess::isFeasible(), KernelMeanClassifier::KernelMeanClassifier(), KernelNearestNeighbor::KernelNearestNeighbor(), LinearClassifier::LinearClassifier(), LinearEquation::LinearEquation(), LinearKernel::LinearKernel(), LinearMap::LinearMap(), LinNorm::LinNorm(), SVM::LoadSVMModel(), SVM::MakeSparse(), MetaSVM::MetaSVM(), SVM::model(), SimpleSigmoidModel::model(), SigmoidModel::model(), RBFNet::model(), AffineLinearMap::model(), LinearMap::model(), KalmanFilter::model(), ComponentWiseModel::model(), SVM::modelDerivative(), SimpleSigmoidModel::modelDerivative(), SigmoidModel::modelDerivative(), RBFNet::modelDerivative(), modelDerivative(), ComponentWiseModel::modelDerivative(), MultiClassSVM::Normalize(), NormalizedKernel::NormalizedKernel(), NormalizedRBFKernel::NormalizedRBFKernel(), OCCMcSVM::OCCMcSVM(), FFNet::operator=(), OVAMcSVM::OVAMcSVM(), Paraboloid::Paraboloid(), PolynomialKernel::PolynomialKernel(), KalmanFilter::predict(), RBFKernel::RBFKernel(), RBFNet::RBFNet(), RBFNet::read(), read(), MSERNNet::readParameters(), FFNet::readParameters(), RegularizationNetwork::RegularizationNetwork(), FFNet::resize(), SVM::SaveSVMModel(), RBFNet::setBias(), RBFNet::setCenter(), RBFNet::setParameter(), LinNorm::setParameter(), ExpNorm::setParameter(), setParameter(), KernelNearestNeighbor::setParameter(), KernelMeanClassifier::setParameter(), WeightedSumKernel2::setParameter(), WeightedSumKernel::setParameter(), NormalizedKernel::setParameter(), PolynomialKernel::setParameter(), KalmanFilter::setStateVector(), MSERNNet::setStructure(), FFNet::setStructure(), MultiClassSVM::SetTrainingData(), SVM::SetTrainingData(), RBFNet::setVariance(), RBFNet::setWeights(), SigmoidModel::SigmoidModel(), SimpleSigmoidModel::SimpleSigmoidModel(), SVM::SVM(), SvmApproximationModel::SvmApproximationModel(), GaussianProcess::train(), KalmanFilter::updateEstimate(), WeightedSumKernel::WeightedSumKernel(), WeightedSumKernel2::WeightedSumKernel2(), write(), MSERNNet::writeParameters(), and FFNet::writeParameters().


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