SG++-Doxygen-Documentation
sgpp::datadriven::LogDensitySystemMatrix Class Reference

Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function. More...

#include <LogDensitySystemMatrix.hpp>

Inheritance diagram for sgpp::datadriven::LogDensitySystemMatrix:
sgpp::base::OperationMatrix

Public Member Functions

void generateb (base::DataVector &b)
 Generates the right hand side of the classification equation. More...
 
 LogDensitySystemMatrix (base::Grid &grid, base::DataVector &alphaRef, base::DataMatrix &trainData, base::OperationMatrix &C, double lambdaRegression)
 Std-Constructor. More...
 
void mult (base::DataVector &alpha, base::DataVector &result)
 Generates the left hand side of the classification equation. More...
 
virtual ~LogDensitySystemMatrix ()
 Std-Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationMatrix
 OperationMatrix ()
 Constructor. More...
 
virtual ~OperationMatrix ()
 Destructor. More...
 

Detailed Description

Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function.

Constructor & Destructor Documentation

◆ LogDensitySystemMatrix()

sgpp::datadriven::LogDensitySystemMatrix::LogDensitySystemMatrix ( base::Grid grid,
base::DataVector alphaRef,
base::DataMatrix trainData,
base::OperationMatrix C,
double  lambdaRegression 
)

Std-Constructor.

Parameters
gridreference to the sparse grid
alphaRefreference to DataVector hierarchical coefficients
trainDatareference to DataVector that contains the training data
Cthe regression functional
lambdaRegressionthe regression parameter

◆ ~LogDensitySystemMatrix()

virtual sgpp::datadriven::LogDensitySystemMatrix::~LogDensitySystemMatrix ( )
virtual

Std-Destructor.

Member Function Documentation

◆ generateb()

void sgpp::datadriven::LogDensitySystemMatrix::generateb ( base::DataVector b)

Generates the right hand side of the classification equation.

Parameters
breference to the vector which will contain the result of the matrix vector multiplication on the rhs

◆ mult()

void sgpp::datadriven::LogDensitySystemMatrix::mult ( base::DataVector alpha,
base::DataVector result 
)
virtual

Generates the left hand side of the classification equation.

Parameters
alphaparameters for the sparse grid functions
resultreference to the vector which will contain the result

Implements sgpp::base::OperationMatrix.


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