class TableLookupDistribution

This class outputs one of the observations as the logProbability.

Inheritance:


Public Fields

[more]int column
The column in the observation vector that corresponds to the logProbability
[more]bool apply_log
do we apply a log transformation
[more]real prior
do we normalize by a given prior

Public Methods

[more] TableLookupDistribution(int column_ = 0, bool apply_log_ = true, real prior_ = 1.)
The column number corresponds to the logProbability which can be normalized by an eventual prior


Inherited from Distribution:

Public Fields

oreal log_probability
oSequence* log_probabilities

Public Methods

ovirtual real logProbability(Sequence* inputs)
ovirtual real viterbiLogProbability(Sequence* inputs)
ovirtual real frameLogProbability(int t, real* f_inputs)
ovirtual real viterbiFrameLogProbability(int t, real* f_inputs)
ovirtual void eMIterInitialize()
ovirtual void iterInitialize()
ovirtual void eMSequenceInitialize(Sequence* inputs)
ovirtual void sequenceInitialize(Sequence* inputs)
ovirtual void eMAccPosteriors(Sequence* inputs, real log_posterior)
ovirtual void frameEMAccPosteriors(int t, real* f_inputs, real log_posterior)
ovirtual void viterbiAccPosteriors(Sequence* inputs, real log_posterior)
ovirtual void frameViterbiAccPosteriors(int t, real* f_inputs, real log_posterior)
ovirtual void eMUpdate()
ovirtual void update()
ovirtual void decode(Sequence* inputs)
ovirtual void eMForward(Sequence* inputs)
ovirtual void viterbiForward(Sequence* inputs)
ovirtual void frameBackward(int t, real* f_inputs, real* beta_, real* f_outputs, real* alpha_)
ovirtual void viterbiBackward(Sequence* inputs, Sequence* alpha)
ovirtual void frameDecision(int t, real* decision)

Public Members

o Returns the decision of the distribution


Inherited from GradientMachine:

Public Fields

oint n_inputs
oint n_outputs
oParameters* params
oParameters* der_params
oSequence* beta

Public Methods

ovirtual void forward(Sequence* inputs)
ovirtual void backward(Sequence* inputs, Sequence* alpha)
ovirtual void setPartialBackprop(bool flag=true)
ovirtual void frameForward(int t, real* f_inputs, real* f_outputs)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)


Inherited from Machine:

Public Fields

oSequence* outputs

Public Methods

ovirtual void reset()
ovirtual void setDataSet(DataSet* dataset_)


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)
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

This class outputs one of the observations as the logProbability. It can eventually apply a log transformation and/or normalize by a given prior. It can therefore be used in conjunction with HMMs to implement the HMM/ANN hybrid model...

oint column
The column in the observation vector that corresponds to the logProbability

obool apply_log
do we apply a log transformation

oreal prior
do we normalize by a given prior

o TableLookupDistribution(int column_ = 0, bool apply_log_ = true, real prior_ = 1.)
The column number corresponds to the logProbability which can be normalized by an eventual prior


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

Alphabetic index HTML hierarchy of classes or Java



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