![]() |
|
#include <dataset_parser.h>
Public Member Functions | |
Dataset () | |
Dataset (const filesystem::path &filename, bool verify=false) | |
void | Dump (const filesystem::path &file_path) |
Dump the Dataset into a YAML file following the DeepHealth Dataset Format. More... | |
Public Attributes | |
std::string | name_ = "DeepHealth dataset" |
Name of the Dataset. More... | |
std::string | description_ = "This is the DeepHealth example dataset!" |
Description of the Dataset. More... | |
std::vector< std::string > | classes_ |
Vector with all the classes available in the Dataset. More... | |
std::vector< std::string > | features_ |
Vector with all the features available in the Dataset. More... | |
std::vector< Sample > | samples_ |
Vector containing all the Dataset samples. See Sample. More... | |
Split | split_ |
Splits of the Dataset. See Split. More... | |
Static Public Attributes | |
static const std::regex | url_regex_ |
DeepHealth Dataset.
This class implements the DeepHealth Dataset Format (https://github.com/deephealthproject/ecvl/wiki/DeepHealth-Toolkit-Dataset-Format).
Definition at line 86 of file dataset_parser.h.
|
inline |
Definition at line 96 of file dataset_parser.h.
ecvl::Dataset::Dataset | ( | const filesystem::path & | filename, |
bool | verify = false |
||
) |
[in] | filename | Path to the Dataset file. |
[in] | verify | Whether to log the non-existence of a dataset sample location or not. |
void ecvl::Dataset::Dump | ( | const filesystem::path & | file_path | ) |
std::vector<std::string> ecvl::Dataset::classes_ |
Vector with all the classes available in the Dataset.
Definition at line 91 of file dataset_parser.h.
std::string ecvl::Dataset::description_ = "This is the DeepHealth example dataset!" |
Description of the Dataset.
Definition at line 90 of file dataset_parser.h.
std::vector<std::string> ecvl::Dataset::features_ |
Vector with all the features available in the Dataset.
Definition at line 92 of file dataset_parser.h.
std::string ecvl::Dataset::name_ = "DeepHealth dataset" |
Name of the Dataset.
Definition at line 89 of file dataset_parser.h.
std::vector<Sample> ecvl::Dataset::samples_ |
Vector containing all the Dataset samples. See Sample.
Definition at line 93 of file dataset_parser.h.
Split ecvl::Dataset::split_ |
Splits of the Dataset. See Split.
Definition at line 94 of file dataset_parser.h.
|
static |
Definition at line 114 of file dataset_parser.h.