Abstract class that defines the virtual class base::OperationMatrix for classification and regression problems (single precision version)
More...
#include <DMSystemMatrixBaseSP.hpp>
Abstract class that defines the virtual class base::OperationMatrix for classification and regression problems (single precision version)
◆ DMSystemMatrixBaseSP()
sgpp::datadriven::DMSystemMatrixBaseSP::DMSystemMatrixBaseSP |
( |
base::DataMatrixSP & |
trainData, |
|
|
float |
lambda |
|
) |
| |
Std-Constructor.
- Parameters
-
trainData | matrix with training data |
lambda | the lambda, the regression parameter |
References myTimer_.
◆ ~DMSystemMatrixBaseSP()
sgpp::datadriven::DMSystemMatrixBaseSP::~DMSystemMatrixBaseSP |
( |
| ) |
|
|
virtual |
◆ generateb()
Generates the right hand side of the classification equation.
- Parameters
-
classes | the class information of the training data |
b | reference to the vector that will contain the result of the matrix vector multiplication on the rhs |
Referenced by sgpp::datadriven::LearnerBaseSP::train().
◆ getTimers()
void sgpp::datadriven::DMSystemMatrixBaseSP::getTimers |
( |
double & |
timeMult, |
|
|
double & |
computeMult, |
|
|
double & |
timeMultTrans, |
|
|
double & |
computeMultTrans |
|
) |
| |
|
virtual |
◆ mult()
starts the Multiplication with the Laplace matrix
- Parameters
-
alpha | DataVectorSP that contains the ansatzfunctions' coefficients |
result | DataVectorSP into which the result of the Laplace operation is stored |
Implements sgpp::base::OperationMatrixSP.
◆ rebuildLevelAndIndex()
void sgpp::datadriven::DMSystemMatrixBaseSP::rebuildLevelAndIndex |
( |
| ) |
|
|
virtual |
◆ resetTimers()
void sgpp::datadriven::DMSystemMatrixBaseSP::resetTimers |
( |
| ) |
|
|
virtual |
◆ completeTimeMult_
double sgpp::datadriven::DMSystemMatrixBaseSP::completeTimeMult_ |
|
protected |
◆ completeTimeMultTrans_
double sgpp::datadriven::DMSystemMatrixBaseSP::completeTimeMultTrans_ |
|
protected |
◆ computeTimeMult_
double sgpp::datadriven::DMSystemMatrixBaseSP::computeTimeMult_ |
|
protected |
time needed only for the computation of mult, interesting on accelerator boards
Referenced by getTimers(), and resetTimers().
◆ computeTimeMultTrans_
double sgpp::datadriven::DMSystemMatrixBaseSP::computeTimeMultTrans_ |
|
protected |
time needed only for the computation of mult transposed, interesting on accelerator boards
Referenced by getTimers(), and resetTimers().
◆ dataset_
◆ lambda_
float sgpp::datadriven::DMSystemMatrixBaseSP::lambda_ |
|
protected |
the lambda, the regularisation parameter
◆ myTimer_
The documentation for this class was generated from the following files: