aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
Database Manipulations
+ Collaboration diagram for Database Manipulations:

Detailed Description

Classes

class  gum::learning::CSVParser< ALLOC >
 Class for fast parsing of CSV file (never more than one line in application memory) More...
 
class  gum::learning::DatabaseTable< ALLOC >
 The class representing a tabular database as used by learning tasks. More...
 
class  gum::learning::DBCell
 The class representing the original values of the cells of databases. More...
 
class  gum::learning::DBHandler< T_DATA, ALLOC >
 The base class for all database handlers. More...
 
class  gum::learning::DBInitializerFromCSV< ALLOC >
 The class for initializing DatabaseTable and RawDatabaseTable instances from CSV files. More...
 
class  gum::learning::DBRow< T_DATA, ALLOC >
 The class for storing a record in a database. More...
 
class  gum::learning::DBRowGenerator< ALLOC >
 The base class for all DBRow generators. More...
 
class  gum::learning::DBRowGenerator4CompleteRows< ALLOC >
 A DBRowGenerator class that returns the rows that are complete (fully observed) w.r.t. More...
 
class  gum::learning::DBRowGeneratorEM< GUM_SCALAR, ALLOC >
 A DBRowGenerator class that returns incomplete rows as EM would do. More...
 
class  gum::learning::DBRowGeneratorIdentity< ALLOC >
 A DBRowGenerator class that returns exactly the rows it gets in input. More...
 
class  gum::learning::DBRowGeneratorParser< ALLOC >
 the class used to read a row in the database and to transform it into a set of DBRow instances that can be used for learning. More...
 
class  gum::learning::DBRowGeneratorSet< ALLOC >
 The class used to pack sets of generators. More...
 
class  gum::learning::DBRowGeneratorWithBN< GUM_SCALAR, ALLOC >
 Base class for DBRowGenerator classes that use a BN for computing their outputs. More...
 
union  gum::learning::DBTranslatedValue
 The union class for storing the translated values in learning databases. More...
 
class  gum::learning::DBTranslator< ALLOC >
 The base class for all the tabular database cell translators. More...
 
class  gum::learning::DBTranslator4ContinuousVariable< ALLOC >
 The databases' cell translators for continuous variables. More...
 
class  gum::learning::DBTranslator4DiscretizedVariable< ALLOC >
 The databases' cell translators for discretized variables. More...
 
class  gum::learning::DBTranslator4LabelizedVariable< ALLOC >
 The databases' cell translators for labelized variables. More...
 
class  gum::learning::DBTranslator4RangeVariable< ALLOC >
 The databases' cell translators for range variables. More...
 
class  gum::learning::DBTranslatorSet< ALLOC >
 the class for packing together the translators used to preprocess the datasets More...
 
class  gum::learning::IDatabaseTable< T_DATA, ALLOC >::Handler
 the (unsafe) handler for the tabular databases More...
 
class  gum::learning::IDatabaseTable< T_DATA, ALLOC >::HandlerSafe
 the safe handler of the tabular databases More...
 
class  gum::learning::IDatabaseTable< T_DATA, ALLOC >
 The common class for the tabular database tables. More...
 
class  gum::learning::IDBInitializer< ALLOC >
 The base class for initializing DatabaseTable and RawDatabaseTable instances from CSV files or SQL databases. More...
 
class  gum::learning::RawDatabaseTable< ALLOC >
 The table containing the raw/original data of a databaseClass RawDatabaseTable is intended to store in RAM the raw/original data of a database. More...
 

Enumerations

enum  gum::learning::DBRowGeneratorGoal : char { gum::learning::DBRowGeneratorGoal::ONLY_REMOVE_MISSING_VALUES, gum::learning::DBRowGeneratorGoal::OTHER_THINGS_THAN_REMOVE_MISSING_VALUES }
 the type of things that a DBRowGenerator is designed for More...
 
enum  gum::learning::DBTranslatedValueType : char { gum::learning::DBTranslatedValueType::DISCRETE, gum::learning::DBTranslatedValueType::CONTINUOUS }
 The nature of the elements handled by translators (discrete, continuous). More...
 

Enumeration Type Documentation

◆ DBRowGeneratorGoal

the type of things that a DBRowGenerator is designed for

Enumerator
ONLY_REMOVE_MISSING_VALUES 
OTHER_THINGS_THAN_REMOVE_MISSING_VALUES 

Definition at line 46 of file DBRowGenerator.h.

46  : char
47  {
48  // the generator's goal is only to remove all missing values
50 
51  // the generator does something else than just missing values
53  };

◆ DBTranslatedValueType

The nature of the elements handled by translators (discrete, continuous).

Currently, a DBTranslatorType is one of:

Each DBTranslator has a DBTranslatedValueType that indicates whether it handles a discrete or a continuous variable. As a result, when the DBTranslator translates a string into a DBTranslatedValue, to access the content of the latter, you should use either the discr_val field of the DBTranslatedValue if the DBTranslatedValueType of the translator is DISCRETE or the cont_val field if the translator is CONTINUOUS.

Enumerator
DISCRETE 
CONTINUOUS 

Definition at line 120 of file DBTranslatedValue.h.