SG++
test_dataset.hpp File Reference
#include <sgpp/base/grid/GridStorage.hpp>
#include <sgpp/base/datatypes/DataVector.hpp>
#include <sgpp/base/datatypes/DataMatrix.hpp>
#include <sgpp/base/algorithm/GetAffectedBasisFunctions.hpp>
#include <sgpp/globaldef.hpp>
#include <vector>
#include <utility>
#include <iostream>

Namespaces

 sgpp
 This header contains some utility functions.
 
 sgpp::datadriven
 

Functions

template<class BASIS >
void sgpp::datadriven::test_calculateROCcurve (base::GridStorage *storage, BASIS &basis, base::DataVector &alpha, base::DataMatrix &data, base::DataVector &classes, base::DataVector &thresholds, base::DataMatrix &ROC_curve)
 Returns the number of correctly classified instances in data without boundaries. More...
 
template<class BASIS >
double sgpp::datadriven::test_dataset (base::GridStorage *storage, BASIS &basis, base::DataVector &alpha, base::DataMatrix &data, base::DataVector &classes)
 Returns the number of correctly classified instances in data without boundaries. More...
 
template<class BASIS >
double sgpp::datadriven::test_dataset_mse (base::GridStorage *storage, BASIS &basis, base::DataVector &alpha, base::DataMatrix &data, base::DataVector &refValues)
 Returns the MSE for given functions values at the evaluation points. More...
 
template<class BASIS >
double sgpp::datadriven::test_datasetWithCharacteristicNumber (base::GridStorage *storage, BASIS &basis, base::DataVector &alpha, base::DataMatrix &data, base::DataVector &classes, base::DataVector &charaNumbers, double threshold)
 Returns the number of correctly classified instances in data without boundaries. More...