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

Class that provides functionality in order to determine a LearnerVectorized's performance. More...

#include <LearnerVectorizedPerformanceCalculator.hpp>

Static Public Member Functions

static LearnerVectorizedPerformance getGFlopAndGByte (sgpp::base::Grid &Grid, size_t numInstances, sgpp::solver::SLESolverType solver, size_t numIterations, size_t sizeDatatype, bool reuseAlpha, bool verbose=false)
 Calculate the performance of LearnerVectorized. More...
 

Detailed Description

Class that provides functionality in order to determine a LearnerVectorized's performance.

Member Function Documentation

LearnerVectorizedPerformance sgpp::datadriven::LearnerVectorizedPerformanceCalculator::getGFlopAndGByte ( sgpp::base::Grid Grid,
size_t  numInstances,
sgpp::solver::SLESolverType  solver,
size_t  numIterations,
size_t  sizeDatatype,
bool  reuseAlpha,
bool  verbose = false 
)
static

Calculate the performance of LearnerVectorized.

Parameters
Gridreference to grid used bt the Learner
numInstancesnumber of training instances
numIterationsnumber of iterations the solver executed
solverthe selected solver
sizeDatatypethe size of the employed datatype in bytes
reuseAlphaset to true if the CG solver has reuseAlpha set to true
verboseprints some details to stdout
Returns
a LearnerVectorizedPerformance struct containing the results

References sgpp::solver::BiCGSTAB, g, sgpp::datadriven::LearnerVectorizedPerformance::GByte_, sgpp::base::HashGridPoint::get(), sgpp::base::Grid::getDimension(), sgpp::base::HashGridStorage::getPoint(), sgpp::base::Grid::getSize(), sgpp::base::Grid::getStorage(), sgpp::base::Grid::getType(), sgpp::datadriven::LearnerVectorizedPerformance::GFlop_, h, level, and sgpp::base::ModLinear.

Referenced by sgpp::datadriven::LearnerLeastSquaresIdentity::postProcessing().


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