class DiskDataSet

Provides an interface to manipulate all kind of data which are kept on disk, and not fully loaded in memory.

Inheritance:


Public Fields

[more]PreProcessingList* pre_processes
List if pre processes to do
[more]IOSequence* io_inputs
IOMatrix which provides inputs
[more]IOSequence* io_targets
IOMatrix which provides targets

Public Methods

[more] DiskDataSet()
[more]void init(IOSequence* io_inputs_, IOSequence* io_targets_)
This function has to be called by your sub-classes.


Inherited from DataSet:

Public Fields

oint* selected_examples
oint n_inputs
oint n_targets
oint real_current_example_index
oSequence* inputs
oSequence* targets
oint n_examples
oint n_real_examples

Public Methods

ovoid setExample(int t, bool set_inputs=true, bool set_targets=true)
ovirtual void setRealExample(int t, bool set_inputs=true, bool set_targets=true)
ovirtual void pushSubset(int* subset_, int n_examples_)
ovirtual void popSubset()
ovirtual void pushExample()
ovirtual void popExample()
ovirtual void getNumberOfFrames(int t, int* n_input_frames, int* n_target_frames)
ovirtual void preProcess(PreProcessing* pre_processing)


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovoid setOOption(const char* name, Object* option)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid 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.

oPreProcessingList* pre_processes
List if pre processes to do

oIOSequence* io_inputs
IOMatrix which provides inputs

oIOSequence* io_targets
IOMatrix which provides targets

o DiskDataSet()

ovoid 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++.