BayesOpt
bayesopt::Dataset Class Reference

Dataset model to deal with the vector (real) based datasets. More...

#include <dataset.hpp>

+ Collaboration diagram for bayesopt::Dataset:

Public Member Functions

 Dataset (const matrixd &x, const vectord &y)
 
void setSamples (const matrixd &x, const vectord &y)
 
void setSamples (const matrixd &x)
 
void setSamples (const vectord &y)
 
void addSample (const vectord &x, double y)
 
double getSampleY (size_t index) const
 
vectord getSampleX (size_t index) const
 
double getLastSampleY () const
 
vectord getLastSampleX () const
 
void plotData (TLogLevel level)
 
vectord getPointAtMinimum () const
 
double getValueAtMinimum () const
 
size_t getNSamples () const
 
void updateMinMax (size_t i)
 

Public Attributes

vecOfvec mX
 Data inputs.
 
vectord mY
 Data values.
 

Private Attributes

size_t mMinIndex
 
size_t mMaxIndex
 

Detailed Description

Dataset model to deal with the vector (real) based datasets.

Definition at line 40 of file dataset.hpp.


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