Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function.
More...
#include <LogDensitySystemMatrix.hpp>
Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function.
◆ LogDensitySystemMatrix()
Std-Constructor.
- Parameters
-
grid | reference to the sparse grid |
alphaRef | reference to DataVector hierarchical coefficients |
trainData | reference to DataVector that contains the training data |
C | the regression functional |
lambdaRegression | the regression parameter |
◆ ~LogDensitySystemMatrix()
virtual sgpp::datadriven::LogDensitySystemMatrix::~LogDensitySystemMatrix |
( |
| ) |
|
|
virtual |
◆ generateb()
void sgpp::datadriven::LogDensitySystemMatrix::generateb |
( |
base::DataVector & |
b | ) |
|
Generates the right hand side of the classification equation.
- Parameters
-
b | reference to the vector which will contain the result of the matrix vector multiplication on the rhs |
◆ mult()
Generates the left hand side of the classification equation.
- Parameters
-
alpha | parameters for the sparse grid functions |
result | reference to the vector which will contain the result |
Implements sgpp::base::OperationMatrix.
The documentation for this class was generated from the following file: