23 #ifndef SRC_TYPES_SAMPLE_HPP_ 
   24 #define SRC_TYPES_SAMPLE_HPP_ 
   37 template<
typename DataType, 
typename LabelType>
 
   80     std::shared_ptr<DataType> 
data()
 const {
 
   85     std::shared_ptr<LabelType> 
label()
 const {
 
size_t sample_index
The sample index (the sample "position" in original dataset). 
 
size_t index() const 
Returns the sample number (the sample "position" in original dataset). 
 
Template class storing the data-label pairs. Additionally it stores the the index of the sample (main...
 
Sample(const mic::types::Sample< DataType, LabelType > &sample_)
 
std::shared_ptr< LabelType > label() const 
Returns the returns the sample label. 
 
std::shared_ptr< LabelType > sample_label
Stores the label. 
 
mic::types::Sample< DataType, LabelType > & operator=(const mic::types::Sample< DataType, LabelType > &sample_)
 
Sample(std::shared_ptr< DataType > data_, std::shared_ptr< LabelType > label_, size_t index_=-1)
 
std::shared_ptr< DataType > data() const 
Returns the sample data. 
 
std::shared_ptr< DataType > sample_data
Stores the data.