Stores results of a running experiment. More...
#include <shark/Statistics/Statistics.h>
Public Types | |
typedef std::map< Parameter, std::vector< RealVector > >::const_iterator | const_iterator |
Public Member Functions | |
ResultTable (std::size_t numDimensions, std::string const ¶meterName="unnamed") | |
std::string const & | parameterName () const |
void | setDimensionName (std::size_t i, std::string const &name) |
std::string const & | dimensionName (std::size_t i) const |
std::size_t | numDimensions () const |
void | update (Parameter const ¶meter, RealVector const &point) |
void | update (Parameter const ¶meter, double value) |
void | update (Parameter const ¶meter, double value1, double value2) |
void | update (Parameter const ¶meter, double value1, double value2, double value3) |
std::vector< RealVector > const & | operator[] (Parameter const ¶m) const |
const_iterator | begin () const |
const_iterator | end () const |
std::size_t | numParams () const |
Parameter const & | parameterValue (std::size_t i) const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int file_version) |
Stores results of a running experiment.
This is a simple three dimensional table with the dimensions. Experiments are thought of having a varied parameter (for example the algorithm names when several algorithms are compared) and for each parameter a set of vector valued points is stored - one vector for each trial of the experiment for a given parameter. It is posible to give every parameter and the whole table a name which adds meta information, for example to generate outputs.
Definition at line 202 of file Statistics.h.
typedef std::map<Parameter,std::vector<RealVector>>::const_iterator shark::statistics::ResultTable< Parameter >::const_iterator |
Definition at line 204 of file Statistics.h.
|
inline |
Definition at line 206 of file Statistics.h.
|
inline |
Definition at line 254 of file Statistics.h.
Referenced by shark::statistics::ResultTable< Parameter >::parameterValue().
|
inline |
Definition at line 217 of file Statistics.h.
|
inline |
Definition at line 257 of file Statistics.h.
|
inline |
Definition at line 221 of file Statistics.h.
Referenced by shark::statistics::ResultTable< Parameter >::update().
|
inline |
Definition at line 261 of file Statistics.h.
|
inline |
Definition at line 250 of file Statistics.h.
|
inline |
Definition at line 209 of file Statistics.h.
|
inline |
Definition at line 265 of file Statistics.h.
References shark::statistics::ResultTable< Parameter >::begin().
|
inline |
Definition at line 273 of file Statistics.h.
|
inline |
Definition at line 213 of file Statistics.h.
Referenced by main().
|
inline |
Definition at line 230 of file Statistics.h.
References shark::statistics::ResultTable< Parameter >::update().
|
inline |
Definition at line 235 of file Statistics.h.
References shark::statistics::ResultTable< Parameter >::update().
|
inline |
Definition at line 242 of file Statistics.h.
References shark::statistics::ResultTable< Parameter >::update().
|
inline |
Definition at line 225 of file Statistics.h.
References shark::statistics::ResultTable< Parameter >::numDimensions(), and SIZE_CHECK.
Referenced by main(), shark::statistics::ResultTable< Parameter >::update(), shark::statistics::ResultTable< Parameter >::update(), and shark::statistics::ResultTable< Parameter >::update().