src/DataStorage.cpp
MatrixBO EchoBay::DataStorage::get_data(const uint8_t type, const uint8_t select) const
{
    uint8_t _type = (type == EchoBay::Train) ? 0 : 1; // Avoid bad calls
    return (select == EchoBay::selData) ? _seriesData[_type] : _seriesLabel[_type];
}
/**
 * @brief Return data or labels based on parameters
 * 
 * @param type train or validation
 * @param select data or label
 * @return MatrixBO Selection 
 */
@brief Return data or labels based on parameters

@param type train or validation
@param select data or label
@return MatrixBO Selection
@brief Return data or labels based on parameters @param type train or validation @param select data or label @return MatrixBO Selection
MatrixBO EchoBay::DataStorage::get_data(const uint8_t type, const uint8_t select) const
{
    uint8_t _type = (type == EchoBay::Train) ? 0 : 1; 
    return (select == EchoBay::selData) ? _seriesData[_type] : _seriesLabel[_type];
}
MatrixBO EchoBay :: DataStorage :: get_data ( const uint8_t type , const uint8_t select ) const { uint8_t _type = ( type == EchoBay :: Train ) ? 0 : 1 ; return ( select == EchoBay :: selData ) ? _seriesData [ _type ] : _seriesLabel [ _type ] ; }
@brief Return data or labels based on parameters
@brief Return data or labels based on parameters
// Avoid bad calls