Provides an interface to manipulate all kind of data which are kept on disk, and not fully loaded in memory.
Inheritance:
Public Fields
-
PreProcessingList* pre_processes
- List if pre processes to do
-
IOSequence* io_inputs
- IOMatrix which provides inputs
-
IOSequence* io_targets
- IOMatrix which provides targets
Public Methods
-
DiskDataSet()
-
void init(IOSequence* io_inputs_, IOSequence* io_targets_)
- This function has to be called by your sub-classes.
Inherited from DataSet:
Public Fields
-
int* selected_examples
-
int n_inputs
-
int n_targets
-
int real_current_example_index
-
Sequence* inputs
-
Sequence* targets
-
int n_examples
-
int n_real_examples
Public Methods
-
void setExample(int t, bool set_inputs=true, bool set_targets=true)
-
virtual void setRealExample(int t, bool set_inputs=true, bool set_targets=true)
-
virtual void pushSubset(int* subset_, int n_examples_)
-
virtual void popSubset()
-
virtual void pushExample()
-
virtual void popExample()
-
virtual void getNumberOfFrames(int t, int* n_input_frames, int* n_target_frames)
-
virtual void preProcess(PreProcessing* pre_processing)
Inherited from Object:
Public Fields
-
Allocator* allocator
Public Methods
-
void addOption(const char* name, int size, void* ptr, const char* help="")
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="")
-
void addROption(const char* name, real* ptr, real init_value, const char* help="")
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
-
void addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
void setOOption(const char* name, Object* option)
-
virtual void loadXFile(XFile* file)
-
virtual void saveXFile(XFile* file)
-
void load(const char* filename)
-
void save(const char* filename)
-
void* operator new(size_t size, Allocator* allocator_=NULL)
-
void* operator new(size_t size, Allocator* allocator_, void* ptr_)
-
void operator delete(void* ptr)
Documentation
Provides an interface to manipulate all kind of data which are
kept on disk, and not fully loaded in memory.
It uses IOSequence.
Usefull for large databases.
DiskMatDataSet is a good example if you plan to code a new DiskDataSet.
- PreProcessingList* pre_processes
- List if pre processes to do
- IOSequence* io_inputs
- IOMatrix which provides inputs
- IOSequence* io_targets
- IOMatrix which provides targets
- DiskDataSet()
- void init(IOSequence* io_inputs_, IOSequence* io_targets_)
- This function has to be called by your sub-classes.
You give here the IOMatrix which handle the inputs
and the targets of your dataset.
Should be called in the constructor of all yoyr sub-classes.
- Direct child classes:
- DiskMatDataSet
DiskHTKDataSet
- Author:
- Ronan Collobert (collober@idiap.ch)
- See Also:
- DiskMatDataSet
IOSequence
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.