SG++-Doxygen-Documentation
|
Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function. More...
#include <PiecewiseConstantSmoothedRegressionSystemMatrix.hpp>
Public Member Functions | |
void | generateb (sgpp::base::DataVector &b) |
Generates the right hand side of the classification equation. More... | |
void | mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) |
Generates the left hand side of the classification equation. More... | |
PiecewiseConstantSmoothedRegressionSystemMatrix (sgpp::datadriven::PiecewiseConstantRegression::Node &piecewiseRegressor, sgpp::base::Grid &grid, sgpp::base::OperationMatrix &C, double lambdaRegression) | |
Std-Constructor. More... | |
virtual | ~PiecewiseConstantSmoothedRegressionSystemMatrix () |
Std-Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationMatrix | |
OperationMatrix () | |
Constructor. More... | |
virtual | ~OperationMatrix () |
Destructor. More... | |
Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function.
sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::PiecewiseConstantSmoothedRegressionSystemMatrix | ( | sgpp::datadriven::PiecewiseConstantRegression::Node & | piecewiseRegressor, |
sgpp::base::Grid & | grid, | ||
sgpp::base::OperationMatrix & | C, | ||
double | lambdaRegression | ||
) |
Std-Constructor.
piecewiseRegressor | approximation with piecewise-constant octtree |
grid | reference to the sparse grid |
C | the regression functional |
lambdaRegression | the regression parameter |
References sgpp::op_factory::createOperationLTwoDotProduct().
|
virtual |
Std-Destructor.
Referenced by generateb().
void sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::generateb | ( | sgpp::base::DataVector & | b | ) |
Generates the right hand side of the classification equation.
b | reference to the vector which will contain the result of the matrix vector multiplication on the rhs |
References sgpp::base::HashGridStorage::getPoint(), sgpp::base::HashGridStorage::getSize(), sgpp::base::Grid::getStorage(), sgpp::datadriven::PiecewiseConstantRegression::Node::integrate(), and ~PiecewiseConstantSmoothedRegressionSystemMatrix().
|
virtual |
Generates the left hand side of the classification equation.
alpha | parameters for the sparse grid functions |
result | reference to the vector which will contain the result |
Implements sgpp::base::OperationMatrix.
References sgpp::base::DataVector::axpy(), sgpp::base::DataVector::getSize(), sgpp::base::OperationMatrix::mult(), sgpp::base::DataVector::setAll(), and analyse_erg::tmp.