SG++-Doxygen-Documentation
|
This class implements OperationTest for a grids with prewavelet basis ansatzfunctions without boundaries. More...
#include <OperationTestPrewavelet.hpp>
Protected Attributes | |
sgpp::base::GridStorage * | storage |
Pointer to the grid's GridStorage object. More... | |
This class implements OperationTest for a grids with prewavelet basis ansatzfunctions without boundaries.
|
inlineexplicit |
Constructor of OperationTestPrewavelet.
storage | Pointer to the grid's gridstorage obejct |
|
inlinevirtual |
Destructor.
References alpha, calculateROCcurve(), python.statsfileInfo::data, test(), testMSE(), and testWithCharacteristicNumber().
|
virtual |
Computes the classification accuracy on some test data.
The function is evaluated at the given points. Tests on the classes {+1, -1}, cut-off variable at threshold
Also the number of the TP TN FP FN are determined
alpha | the coefficients of the sparse grid's base functions |
data | the coordinates of the evaluation points |
classes | sgpp::base::DataVector the holds the class information |
thresholds | the thresholds (between -1.0 and 1.0) for calculating the ROC curve |
ROC_curve | DataMatrix into which the ROC curve is stored |
Implements sgpp::datadriven::OperationTest.
References storage, and sgpp::datadriven::test_calculateROCcurve().
Referenced by ~OperationTestPrewavelet().
|
virtual |
Computes the classification accuracy on some test data.
The function is evaluated at the given points. Tests on the classes {+1, -1}, cut-off at 0.
alpha | the coefficients of the sparse grid's base functions |
data | the coordinates of the evaluation points |
classes | sgpp::base::DataVector holding the class information |
Implements sgpp::datadriven::OperationTest.
References storage, and sgpp::datadriven::test_dataset().
Referenced by ~OperationTestPrewavelet().
|
virtual |
Computes the regression accuracy on some test data.
The function is evaluated at the given points. Calculates the MSE between between the given values and the values evaluated on the sparse grid.
alpha | the coefficients of the sparse grid's base functions |
data | the coordinates of the evaluation points |
refValues | sgpp::base::DataVector holding the reference function values |
Implements sgpp::datadriven::OperationTest.
References storage, and sgpp::datadriven::test_dataset_mse().
Referenced by ~OperationTestPrewavelet().
|
virtual |
Computes the classification accuracy on some test data.
The function is evaluated at the given points. Tests on the classes {+1, -1}, cut-off at 0.
Also the number of the TP TN FP FN are determined
alpha | the coefficients of the sparse grid's base functions |
data | the coordinates of the evaluation points |
classes | sgpp::base::DataVector the holds the class information |
charaNumbers | the number of true positives, true negatives, false positives, false negatives (Vector of length 4) |
Implements sgpp::datadriven::OperationTest.
References storage, and sgpp::datadriven::test_datasetWithCharacteristicNumber().
Referenced by ~OperationTestPrewavelet().
|
protected |
Pointer to the grid's GridStorage object.
Referenced by calculateROCcurve(), test(), testMSE(), and testWithCharacteristicNumber().