(Reference under construction)
- mnm.centroid
- mnm.delta
- mnm.diag
- mnm.gmmem
- mnm.hist
- mnm.lu
- mnm.mahalanobis
- mnm.meanstd
- mnm.minmax
- mnm.nmd
- mnm.nmf
- mnm.obsprob
- mnm.qr
- mnm.stats
- mnm.submat
- mnm.sum
- mnm.svd
- mnm.transpose
- mnm.viterbi
- mnm.xdist2
- mnm.xmul
mnm.centroid
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
mode - (1|2|row|col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.
|
messages:
|
mode - (1|2|row|col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.
|
inlets:
|
1 - input vector
|
outlets:
|
1 - output centroids 2 - input sums
|
|
mnm.delta
|
|
'
|
|
|
|
|
|
arguments:
|
1 - initialize the input size 2 - initialize the filter size
|
attributes:
|
norm - normalization mode 1 (default) or 0 inadddel - add a delay to the delayed input
|
messages:
|
clear - clear the memory of inputs getdelay - get the input ring buffer getring - get the input ring buffer getnorm - get the normalization factor getstate - get the internal weights vector norm - normalization mode 1 (default) or 0 inadddel - add a delay to the delayed input filtersize - set the filter size insize - set the input size
|
inlets:
|
1 - input vector
|
outlets:
|
1 - output delayed inputs (in phase with deltas) 2 - output deltas 3 - internal values
|
|
mnm.diag
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
out - reference to an external fmat to store the diagonal
|
messages:
|
out - reference to an external fmat to store the diagonal
|
inlets:
|
1 - incoming fmat whose diagonal will be extracted
|
outlets:
|
1 - diagonal of the fmat
|
|
mnm.gmmem
|
|
'
|
|
|
|
|
|
arguments:
|
1 - number of centers to use
|
attributes:
|
ncenters - number of centers criteria - criteria mode - (diagonal|full|spherical) covariance computation types outpriors - reference to external fmat to store priors outcov - reference to external fmat to store covariance outcenters - reference to external fmat to store centers
|
messages:
|
outpriors - reference to external fmat to store priors outcov - reference to external fmat to store covariance outcenters - reference to external fmat to store centers
|
inlets:
|
1 - fmat
|
outlets:
|
1 - fmat centers 2 - fmat covariance 3 - fmat priors
|
|
mnm.hist
|
|
'
|
|
|
|
|
|
arguments:
|
1 - number of bins
|
attributes:
|
norm - values: on=max, sum: normalise histogram so that max or sum is 1 bpf - output two-column fmat with bin indices and histogram values
|
messages:
|
set_n - number of bins norm - values: on=max, sum: normalise histogram so that max or sum is 1 bpf - output two-column fmat with bin indices and histogram values
|
inlets:
|
1 - data fmat or fvec
|
outlets:
|
1 - histogram fmat 2 - min data value 3 - max data value
|
|
mnm.lu
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
outx - out X outpivot - out pivot outu - out U outl - out L
|
messages:
|
outx - out X outpivot - out pivot outu - out U outl - out L solve - solves system with incoming fmat and decomposed fmat determinant - computes determinant of decomposed fmat
|
inlets:
|
1 - fmat to decompose
|
outlets:
|
1 - L 2 - U 3 - pivot 4 - X 5 - determinant
|
|
mnm.mahalanobis
|
|
'
|
|
|
|
|
|
arguments:
|
1 - fmat of mean values 2 - fmat of covariance
|
attributes:
|
out - reference to external fmat to store result
|
messages:
|
out - reference to external fmat to store result set_shift_weight - set shift weight per target (in) line set_shift_weight - set shift weight per target (in) line set_shift - set shift vector per database (mu) line set_shift - set shift vector per database (mu) line
|
inlets:
|
1 - vector 2 - mu 3 - sigma
|
outlets:
|
1 - mahalanobis distance
|
|
mnm.meanstd
|
|
'
|
|
|
|
|
|
arguments:
|
1 - (1|2|row|col) sum over rows or columns
|
attributes:
|
type - (fmat) always output an fmat even for scalar results mode - (row|col|1|2) computes over rows or columns outstd - reference to an external fmat to store the standard deviation outmean - reference to an external fmat to store the mean
|
messages:
|
outstd - reference to an external fmat to store the standard deviation outmean - reference to an external fmat to store the mean
|
inlets:
|
1 - incoming fmat
|
outlets:
|
1 - mean 2 - standard deviation
|
|
mnm.minmax
|
|
'
|
|
|
|
|
|
arguments:
|
1 - (1|2|row|col) sum over rows or columns
|
attributes:
|
type - (fmat) always output an fmat even for scalar results mode - (row|col|1|2) computes over rows or columns outargmax - reference to fmat to store the argmax outmax - reference to fmat to store the max outargmin - reference to fmat to store the argmin outmin - reference to fmat to store the min
|
messages:
|
outargmax - reference to fmat to store the argmax outmax - reference to fmat to store the max outargmin - reference to fmat to store the argmin outmin - reference to fmat to store the min
|
inlets:
|
1 - incoming fmat
|
outlets:
|
1 - min 2 - argmin 3 - max 4 - argmax
|
|
mnm.nmd
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
itermax - itermax sH - sH criteria - criteria outh - out H
|
messages:
|
outh - out H
|
inlets:
|
1 - fmat 2 - fmat 3 -
|
outlets:
|
1 - fmat
|
|
mnm.nmf
|
|
'
|
|
|
|
|
|
arguments:
|
1 - number of components
|
attributes:
|
itermax - maximum number of iterations rdim - number of components criteria - (float) stopping criteria outh - reference to external fmat to store H outw - reference to external fmat to store W
|
messages:
|
outh - reference to external fmat to store H outw - reference to external fmat to store W
|
inlets:
|
1 - fmat to be decomposed
|
outlets:
|
1 - W 2 - H
|
|
mnm.obsprob
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
none
|
messages:
|
none
|
inlets:
|
1 - ref. to observation frame : fmat [D (=feature space dim) , 1] 2 - ref. to states matrix
|
outlets:
|
1 - log(B) : fmat [K (=nb of states) , 1] 2 - test
|
|
mnm.qr
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
outx - reference to external fmat to store X outr - reference to external fmat to store R outq - reference to external fmat to store Q
|
messages:
|
outx - reference to external fmat to store X outr - reference to external fmat to store R outq - reference to external fmat to store Q solve - solve system with QR decomposition
|
inlets:
|
1 - fmat to be decomposed
|
outlets:
|
1 - Q 2 - R 3 - X
|
|
mnm.stats
|
|
'
|
|
|
|
|
|
arguments:
|
output stats
|
attributes:
|
norm - switch normalize
|
messages:
|
set - set histogram vector (fmat) clear - clear histogram bang - output stats norm - switch normalize
|
inlets:
|
1 - data input
|
outlets:
|
1 - average 2 - standard deviation 3 - count
|
|
mnm.submat
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
out - reference to external fmat to store the sub-matrix
|
messages:
|
out - reference to external fmat to store the sub-matrix end - end of submatrix coordinates begin - start of submatrix coordinates
|
inlets:
|
1 - fmat
|
outlets:
|
1 - sub-matrix
|
|
mnm.sum
|
|
'
|
|
|
|
|
|
arguments:
|
1 - (1|2|row|col) sum over rows or columns
|
attributes:
|
type - (fmat) always output an fmat even for scalar results mode - (row|col|1|2) perform sum over rows or columns out - reference to external fmat to store the sum
|
messages:
|
out - reference to external fmat to store the sum
|
inlets:
|
1 - incoming fmat
|
outlets:
|
1 - sum of fmat
|
|
mnm.svd
|
|
'
|
|
|
|
|
|
arguments:
|
1 - number of singular values
|
attributes:
|
mode - (auto|manual) automatically eliminate negligible singular values outvt - reference to external fmat to store V' outs - reference to external fmat to store S outu - reference to external fmat to store U
|
messages:
|
outvt - reference to external fmat to store V' outs - reference to external fmat to store S outu - reference to external fmat to store U
|
inlets:
|
1 - fmat to be decomposed by SVD
|
outlets:
|
1 - U 2 - S 3 - V'
|
|
mnm.transpose
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
out - reference to external fmat to store the transposition
|
messages:
|
out - reference to external fmat to store the transposition
|
inlets:
|
1 - fmat to be transposed
|
outlets:
|
1 - transposed fmat
|
|
mnm.viterbi
|
|
'
|
|
|
|
|
|
arguments:
|
none
|
attributes:
|
get - debug : get intern values. latency - maximum latency (nb of frames) verbose - verbose or not (0|1) line - on|off line
|
messages:
|
get - debug : get intern values. locpaths - get locpaths matrix latency - maximum latency (nb of frames) verbose - verbose or not (0|1) bang - bang to decode reinit - input message reinit
|
inlets:
|
1 - bang to decode, or reinit message to reset PSIs and DELTAs 2 - observation matrix logB[T,K] 3 - state prior distribution Pi[1,K] 4 - state transition matrix A[K,K]
|
outlets:
|
1 - decoded best path 2 - debug
|
|
mnm.xdist2
|
|
'
|
|
|
|
|
|
arguments:
|
1 - fmat to be used as right operand
|
attributes:
|
swap - (yes|no) swaps operands out - reference to external fmat to store the result
|
messages:
|
out - reference to external fmat to store the result
|
inlets:
|
1 - left operand 2 - right operand
|
outlets:
|
1 - resulting fmat
|
|
mnm.xmul
|
|
'
|
|
|
|
|
|
arguments:
|
1 - fmat to be used as right operand
|
attributes:
|
swap - (yes|no) swaps operands out - reference to an external fmat to store the result
|
messages:
|
out - reference to an external fmat to store the result
|
inlets:
|
1 - left hand side fmat operand 2 - right hand side fmat operand
|
outlets:
|
1 - fmat result
|
|