OpenNN
Open-source neural networks library
Loading...
Searching...
No Matches
dataset.h File Reference

Declares the Dataset class and the SampleRole enum. More...

#include "correlations.h"
#include "statistics.h"
#include "tensor_utilities.h"
#include "enum_map.h"
#include "string_utilities.h"
#include "variable.h"

Go to the source code of this file.

Classes

class  opennn::Dataset
 Base data container with samples, variables and per-variable metadata. More...
 

Namespaces

namespace  opennn
 

Macros

#define STRINGIFY_ENUM(x)
 
#define ENUM_TO_STRING(x)
 

Enumerations

enum class  opennn::SampleRole { opennn::Training , opennn::Validation , opennn::Testing , opennn::None }
 Role of a sample within a dataset partition. More...
 

Functions

const EnumMap< SampleRole > & opennn::sample_role_map ()
 Returns the string<->enum mapping for SampleRole values.
 
const string & opennn::sample_role_to_string (SampleRole role)
 Converts a SampleRole to its canonical string name.
 
SampleRole opennn::string_to_sample_role (const string &name)
 Parses a SampleRole from string.
 

Detailed Description

Declares the Dataset class and the SampleRole enum.

Dataset is the base data container for OpenNN. Specialized subclasses (TabularDataset, ImageDataset, LanguageDataset, TimeSeriesDataset) extend it for specific data formats; this header provides the shared abstraction.

Macro Definition Documentation

◆ ENUM_TO_STRING

#define ENUM_TO_STRING ( x)
Value:
#define STRINGIFY_ENUM(x)
Definition dataset.h:1407

◆ STRINGIFY_ENUM

#define STRINGIFY_ENUM ( x)
Value:
#x