class HtkSeqDataSet

This class is used to read Htk seqdatasets

Inheritance:


Public Fields

[more]IOHtk** htk
the files, in htk format
[more]Dictionary* dict
used to read targets and alignments
[more]int n_per_frame
number of miliseconds per frame (used during alignment)

Public Methods

[more] HtkSeqDataSet(char* file, int max_load=-1)
[more] HtkSeqDataSet(char** files, int n_files, int max_load=-1)
[more]virtual void freeMemory()
destroys data allocated by createData
[more]virtual void write(char* dir_to_save)
save the data set on htk binary format in specifing directory


Inherited from SeqDataSet:

Public Fields

oSeqExample* examples
ochar** file_names
oint n_file_names
obool norm_inputs
obool norm_observations
oreal* mean_in
oreal* mean_ob
oreal* stdv_in
oreal* stdv_ob
oint current_frame
oint n_frames
oint n_observations
oint tot_n_frames
ochar* kind
oint n_seqtargets
oreal** seqtargets

Public Methods

oint removeUnlikelyFrames(Distribution* likely_distr, Distribution* unlikely_distr, int obs_offset = 0, int range=5)
ovoid removeUnusedData(bool* mask)
ovoid normalizeUsingDataSet( SeqDataSet* )
ovoid normalize()
ovoid setFrame( int )
ovoid totNFrames()
ovoid toOneFramePerExample()
ovirtual void readTargets(char* file)
ovirtual void readAlignments(char* file, bool needs_all_examples = false)
ovoid setSelectedFrames( int* selected_frames, int n_selected_frames )
ovoid unsetSelectedFrames()
ovoid display()
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)


Inherited from DataSet:

Public Fields

oint* selected_examples
oint current_example
oint n_targets
ovoid* targets
oint n_inputs
oList* inputs
oint n_examples
oint n_real_examples

Public Methods

ovoid setExample(int t)
ovirtual void setRealExample(int t)
ovoid pushSubset(int* subset_, int n_examples_)
ovoid popSubset()


Inherited from Object:

Public Methods

ovirtual void init()
ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
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 load(const char* filename)
ovoid save(const char* filename)


Documentation

This class is used to read Htk seqdatasets

oIOHtk** htk
the files, in htk format

oDictionary* dict
used to read targets and alignments

oint n_per_frame
number of miliseconds per frame (used during alignment)

o HtkSeqDataSet(char* file, int max_load=-1)

o HtkSeqDataSet(char** files, int n_files, int max_load=-1)

ovirtual void freeMemory()
destroys data allocated by createData

ovirtual void write(char* dir_to_save)
save the data set on htk binary format in specifing directory


This class has no child classes.
Author:
Samy Bengio (bengio@idiap.ch) Johnny Mariethoz (Johnny.Mariethoz@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.