36#ifndef STK_ICLASSIFICATION_H
37#define STK_ICLASSIFICATION_H
102template <
class YArray_,
class XArray_,
class Weights_>
213template <
class YArray_,
class XArray_,
class Weights_>
219template <
class YArray_,
class XArray_,
class Weights_>
223 , nbFreeParameter_(0)
229template <
class YArray_,
class XArray_,
class Weights_>
233 , nbFreeParameter_(0)
#define STKERROR_NO_ARG(Where, Error)
This file include all the other header files of the project Sdk.
Interface base class for Regression methods.
IRunnerSupervised< YArray_, XArray_, Weights_ > Base
virtual bool finalizeStep()
perform any computation needed after the call of the classification method.
int nbFreeParameter_
number of parameter of the classification method.
int nbFreeParameter() const
virtual bool predictionStep()
Compute the predicted outputs by the classification function and store the result in the p_predicted_...
virtual int computeNbFreeParameter() const =0
Compute the number of parameter of the classification function.
virtual bool run()
run the computations.
virtual bool estimationStep(Weights_ const &weights)=0
compute the weighted classification function.
virtual bool initializeStep()
perform any computation needed before the call of the classification method.
virtual bool run(Weights_ const &weights)
run the weighted computations.
YArray_ const * p_y_
A pointer on the y data set.
virtual ~IClassification()
virtual destructor.
int nbClass_
number of class
XArray_ const * p_x_
A pointer on the x data set.
virtual bool estimationStep()=0
compute the classification function.
IClassification()
Default constructor.
String msg_error_
String with the last error message.
bool hasRun_
true if run has been used, false otherwise
Abstract class for all classes making supervised learning.
YArray_ const * p_y_
A pointer on the y data set.
XArray_ const * p_x_
A pointer on the x data set.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
The namespace STK is the main domain space of the Statistical ToolKit project.