store plif arrays for all transitions in the model
在文件PlifMatrix.h第28行定义。
公有成员 | |
CPlifMatrix () | |
~CPlifMatrix () | |
CPlif ** | get_PEN () |
CPlifBase ** | get_plif_matrix () |
int32_t | get_num_states () |
CPlifBase ** | get_state_signals () |
int32_t | get_num_plifs () |
int32_t | get_num_limits () |
void | create_plifs (int32_t num_plifs, int32_t num_limits) |
void | set_plif_ids (int32_t *ids, int32_t num_ids) |
void | set_plif_min_values (float64_t *min_values, int32_t num_values) |
void | set_plif_max_values (float64_t *max_values, int32_t num_values) |
void | set_plif_use_cache (bool *use_cache, int32_t num_values) |
void | set_plif_use_svm (int32_t *use_svm, int32_t num_values) |
void | set_plif_limits (float64_t *limits, int32_t num_plifs, int32_t num_limits) |
void | set_plif_penalties (float64_t *penalties, int32_t num_plifs, int32_t num_limits) |
void | set_plif_names (T_STRING< char > *names, int32_t num_values, int32_t maxlen=0) |
void | set_plif_transform_type (T_STRING< char > *transform_type, int32_t num_values, int32_t maxlen=0) |
int32_t | get_plif_id (int32_t idx) |
bool | compute_plif_matrix (float64_t *penalties_array, int32_t *Dim, int32_t numDims) |
bool | compute_signal_plifs (int32_t *state_signals, int32_t feat_dim3, int32_t num_states) |
void | set_plif_state_signal_matrix (int32_t *plif_id_matrix, int32_t m, int32_t n) |
virtual const char * | get_name () const |
保护属性 | |
CPlif ** | m_PEN |
int32_t | m_num_plifs |
int32_t | m_num_limits |
int32_t | m_num_states |
int | m_feat_dim3 |
CArray< int32_t > | m_ids |
CPlifBase ** | m_plif_matrix |
CPlifBase ** | m_state_signals |
CPlifMatrix | ( | ) |
constructor
在文件PlifMatrix.cpp第8行定义。
~CPlifMatrix | ( | ) |
destructor
在文件PlifMatrix.cpp第13行定义。
bool compute_plif_matrix | ( | float64_t * | penalties_array, |
int32_t * | Dim, | ||
int32_t | numDims | ||
) |
parse an 3D array of plif ids and compute the corresponding 2D plif matrix by subsuming the third dim into one PlifArray; Note: the class PlifArray is derived from PlifBase. It computes all individual plifs and sums them up.
penalties_array | 3D array of plif ids (nofstates x nofstates x nof(features for each transition)) |
Dim | array of dimensions |
numDims | number of dimensions |
在文件PlifMatrix.cpp第183行定义。
bool compute_signal_plifs | ( | int32_t * | state_signals, |
int32_t | feat_dim3, | ||
int32_t | num_states | ||
) |
parse an 3D array of plif ids and compute the corresponding 3D plif array;
state_signals | mapping of features to states |
feat_dim3 | maximal number of features to be considered in one state |
num_states | number of states |
在文件PlifMatrix.cpp第247行定义。
void create_plifs | ( | int32_t | num_plifs, |
int32_t | num_limits | ||
) |
create an empty plif matrix of size num_plifs * num_limits
num_plifs | number of plifs |
num_limits | number of plif limits |
在文件PlifMatrix.cpp第27行定义。
virtual const char* get_name | ( | ) | const [virtual] |
int32_t get_num_limits | ( | ) |
get number of support points for picewise linear transformations (PLiFs)
在文件PlifMatrix.h第77行定义。
int32_t get_num_plifs | ( | ) |
int32_t get_num_states | ( | ) |
get number of states the number of states determines the size of the plif matrix
在文件PlifMatrix.h第58行定义。
CPlif** get_PEN | ( | ) |
int32_t get_plif_id | ( | int32_t | idx ) |
CPlifBase** get_plif_matrix | ( | ) |
CPlifBase** get_state_signals | ( | ) |
void set_plif_ids | ( | int32_t * | ids, |
int32_t | num_ids | ||
) |
void set_plif_limits | ( | float64_t * | limits, |
int32_t | num_plifs, | ||
int32_t | num_limits | ||
) |
set all abscissa values of the support points for the for the pice wise linear transformations (PLiFs)
limits | array of length num_plifs*num_limits |
num_plifs | number of plifs |
num_limits | number of support vectors |
在文件PlifMatrix.cpp第104行定义。
void set_plif_max_values | ( | float64_t * | max_values, |
int32_t | num_values | ||
) |
set array of max values for all plifs
max_values | array of max values |
num_values | length of array |
在文件PlifMatrix.cpp第68行定义。
void set_plif_min_values | ( | float64_t * | min_values, |
int32_t | num_values | ||
) |
set array of min values for all plifs
min_values | array of min values |
num_values | length of array |
在文件PlifMatrix.cpp第56行定义。
void set_plif_names | ( | T_STRING< char > * | names, |
int32_t | num_values, | ||
int32_t | maxlen = 0 |
||
) |
set names for the PLiFs
names | names |
num_values | number of names |
maxlen | maximal string len of the names |
在文件PlifMatrix.cpp第146行定义。
void set_plif_penalties | ( | float64_t * | penalties, |
int32_t | num_plifs, | ||
int32_t | num_limits | ||
) |
set all ordinate values of the support points for the for the pice wise linear transformations (PLiFs)
penalties | plif values: array of length num_plifs*num_limits |
num_plifs | number of plifs |
num_limits | number of support vectors |
在文件PlifMatrix.cpp第125行定义。
void set_plif_state_signal_matrix | ( | int32_t * | plif_id_matrix, |
int32_t | m, | ||
int32_t | n | ||
) |
set best path plif state signal matrix
plif_id_matrix | plif id matrix |
m | dimension m of matrix |
n | dimension n of matrix |
在文件PlifMatrix.cpp第275行定义。
void set_plif_transform_type | ( | T_STRING< char > * | transform_type, |
int32_t | num_values, | ||
int32_t | maxlen = 0 |
||
) |
set plif transform type; for some features the plifs live in log space therefore the input values have to be transformed to log space before the transformation can be applied; the transform type is string coded
transform_type | transform type (e.g. LOG(x), LOG(x+1), ...) |
num_values | number of transform strings |
maxlen | of transform strings |
在文件PlifMatrix.cpp第160行定义。
void set_plif_use_cache | ( | bool * | use_cache, |
int32_t | num_values | ||
) |
set plif use cache
use_cache | set array of bool values |
num_values | length of array |
在文件PlifMatrix.cpp第80行定义。
void set_plif_use_svm | ( | int32_t * | use_svm, |
int32_t | num_values | ||
) |
int m_feat_dim3 [protected] |
maximal number of features for a given state
在文件PlifMatrix.h第223行定义。
plif ids
在文件PlifMatrix.h第226行定义。
int32_t m_num_limits [protected] |
number of supporting points per plif
在文件PlifMatrix.h第217行定义。
int32_t m_num_plifs [protected] |
number of plifs
在文件PlifMatrix.h第214行定义。
int32_t m_num_states [protected] |
number of states in model
在文件PlifMatrix.h第220行定义。
array of plifs
在文件PlifMatrix.h第211行定义。
CPlifBase** m_plif_matrix [protected] |
plif matrix
在文件PlifMatrix.h第229行定义。
CPlifBase** m_state_signals [protected] |
state signals
在文件PlifMatrix.h第232行定义。