From ftm
(→Reference under construction...) |
|||
Line 1: | Line 1: | ||
− | + | (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 | ||
+ | |||
+ | |||
+ | {{Module | | ||
+ | | name=mnm.centroid | ||
+ | | brief= | ||
+ | | descr= | ||
+ | | arguments=none | ||
+ | | attributes=mode - (1|2|row|col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.<br> | ||
+ | | messages=mode - (1|2|row|col) calculate over rows (default, same as 1) or columns (same as 2) for multicolumn inputs.<br> | ||
+ | | inlets=1 - input vector<br> | ||
+ | | outlets=1 - output centroids<br>2 - input sums<br> | ||
+ | }} | ||
{{Module | | {{Module | | ||
Line 5: | Line 39: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - initialize the input size<br>2 - initialize the filter size<br> |
| attributes=norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br> | | attributes=norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br> | ||
| messages=clear - clear the memory of inputs<br>getdelay - get the input ring buffer<br>getring - get the input ring buffer<br>getnorm - get the normalization factor<br>getstate - get the internal weights vector<br>norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br>filtersize - set the filter size<br>insize - set the input size<br> | | messages=clear - clear the memory of inputs<br>getdelay - get the input ring buffer<br>getring - get the input ring buffer<br>getnorm - get the normalization factor<br>getstate - get the internal weights vector<br>norm - normalization mode 1 (default) or 0<br>inadddel - add a delay to the delayed input<br>filtersize - set the filter size<br>insize - set the input size<br> | ||
− | | inlets= | + | | inlets=1 - input vector<br> |
− | | outlets= | + | | outlets=1 - output delayed inputs (in phase with deltas)<br>2 - output deltas<br>3 - internal values<br> |
}} | }} | ||
Line 19: | Line 53: | ||
| attributes=out - reference to an external fmat to store the diagonal<br> | | attributes=out - reference to an external fmat to store the diagonal<br> | ||
| messages=out - reference to an external fmat to store the diagonal<br> | | messages=out - reference to an external fmat to store the diagonal<br> | ||
− | | inlets= | + | | inlets=1 - incoming fmat whose diagonal will be extracted<br> |
− | | outlets= | + | | outlets=1 - diagonal of the fmat<br> |
}} | }} | ||
Line 27: | Line 61: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - number of centers to use<br> |
| attributes=ncenters - number of centers<br>criteria - criteria<br>mode - (diagonal|full|spherical) covariance computation types<br>outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br> | | attributes=ncenters - number of centers<br>criteria - criteria<br>mode - (diagonal|full|spherical) covariance computation types<br>outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br> | ||
| messages=outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br> | | messages=outpriors - reference to external fmat to store priors<br>outcov - reference to external fmat to store covariance<br>outcenters - reference to external fmat to store centers<br> | ||
− | | inlets= | + | | inlets=1 - fmat<br> |
− | | outlets= | + | | outlets=1 - fmat centers<br>2 - fmat covariance<br>3 - fmat priors<br> |
}} | }} | ||
Line 38: | Line 72: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - number of bins<br> |
| attributes=norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br> | | attributes=norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br> | ||
| messages=set_n - number of bins<br>norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br> | | messages=set_n - number of bins<br>norm - values: on=max, sum: normalise histogram so that max or sum is 1<br>bpf - output two-column fmat with bin indices and histogram values<br> | ||
− | | inlets= | + | | inlets=1 - data fmat or fvec <br> |
− | | outlets= | + | | outlets=1 - histogram fmat<br>2 - min data value<br>3 - max data value<br> |
}} | }} | ||
Line 52: | Line 86: | ||
| attributes=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br> | | attributes=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br> | ||
| messages=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br>solve - solves system with incoming fmat and decomposed fmat<br>determinant - computes determinant of decomposed fmat<br> | | messages=outx - out X<br>outpivot - out pivot<br>outu - out U<br>outl - out L<br>solve - solves system with incoming fmat and decomposed fmat<br>determinant - computes determinant of decomposed fmat<br> | ||
− | | inlets= | + | | inlets=1 - fmat to decompose<br> |
− | | outlets= | + | | outlets=1 - L<br>2 - U<br>3 - pivot<br>4 - X<br>5 - determinant<br> |
}} | }} | ||
Line 60: | Line 94: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - fmat of mean values<br>2 - fmat of covariance<br> |
| attributes=out - reference to external fmat to store result<br> | | attributes=out - reference to external fmat to store result<br> | ||
| messages=out - reference to external fmat to store result<br>set_shift_weight - set shift weight per target (in) line<br>set_shift_weight - set shift weight per target (in) line<br>set_shift - set shift vector per database (mu) line<br>set_shift - set shift vector per database (mu) line<br> | | messages=out - reference to external fmat to store result<br>set_shift_weight - set shift weight per target (in) line<br>set_shift_weight - set shift weight per target (in) line<br>set_shift - set shift vector per database (mu) line<br>set_shift - set shift vector per database (mu) line<br> | ||
− | | inlets= | + | | inlets=1 - vector<br>2 - mu<br>3 - sigma<br> |
− | | outlets= | + | | outlets=1 - mahalanobis distance<br> |
}} | }} | ||
Line 71: | Line 105: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - (1|2|row|col) sum over rows or columns<br> |
| attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row|col|1|2) computes over rows or columns<br>outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br> | | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row|col|1|2) computes over rows or columns<br>outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br> | ||
| messages=outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br> | | messages=outstd - reference to an external fmat to store the standard deviation<br>outmean - reference to an external fmat to store the mean<br> | ||
− | | inlets= | + | | inlets=1 - incoming fmat<br> |
− | | outlets= | + | | outlets=1 - mean<br>2 - standard deviation<br> |
}} | }} | ||
Line 82: | Line 116: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - (1|2|row|col) sum over rows or columns<br> |
| attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row|col|1|2) computes over rows or columns<br>outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br> | | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row|col|1|2) computes over rows or columns<br>outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br> | ||
| messages=outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br> | | messages=outargmax - reference to fmat to store the argmax<br>outmax - reference to fmat to store the max<br>outargmin - reference to fmat to store the argmin<br>outmin - reference to fmat to store the min<br> | ||
− | | inlets= | + | | inlets=1 - incoming fmat<br> |
− | | outlets= | + | | outlets=1 - min<br>2 - argmin<br>3 - max<br>4 - argmax<br> |
}} | }} | ||
Line 96: | Line 130: | ||
| attributes=itermax - itermax<br>sH - sH<br>criteria - criteria<br>outh - out H<br> | | attributes=itermax - itermax<br>sH - sH<br>criteria - criteria<br>outh - out H<br> | ||
| messages=outh - out H<br> | | messages=outh - out H<br> | ||
− | | inlets= | + | | inlets=1 - fmat<br>2 - fmat<br>3 - <br> |
− | | outlets= | + | | outlets=1 - fmat<br> |
}} | }} | ||
Line 104: | Line 138: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - number of components<br> |
| attributes=itermax - maximum number of iterations<br>rdim - number of components<br>criteria - (float) stopping criteria<br>outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br> | | attributes=itermax - maximum number of iterations<br>rdim - number of components<br>criteria - (float) stopping criteria<br>outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br> | ||
| messages=outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br> | | messages=outh - reference to external fmat to store H<br>outw - reference to external fmat to store W<br> | ||
− | | inlets= | + | | inlets=1 - fmat to be decomposed<br> |
− | | outlets= | + | | outlets=1 - W<br>2 - H<br> |
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=mnm.obsprob | ||
+ | | brief= | ||
+ | | descr= | ||
+ | | arguments=none | ||
+ | | attributes=none | ||
+ | | messages=none | ||
+ | | inlets=1 - ref. to observation frame : fmat [D (=feature space dim) , 1]<br>2 - ref. to states matrix<br> | ||
+ | | outlets=1 - log(B) : fmat [K (=nb of states) , 1]<br>2 - test<br> | ||
}} | }} | ||
Line 118: | Line 163: | ||
| attributes=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br> | | attributes=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br> | ||
| messages=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br>solve - solve system with QR decomposition<br> | | messages=outx - reference to external fmat to store X<br>outr - reference to external fmat to store R<br>outq - reference to external fmat to store Q<br>solve - solve system with QR decomposition<br> | ||
− | | inlets= | + | | inlets=1 - fmat to be decomposed<br> |
− | | outlets= | + | | outlets=1 - Q<br>2 - R<br>3 - X<br> |
}} | }} | ||
Line 129: | Line 174: | ||
| attributes=norm - switch normalize<br> | | attributes=norm - switch normalize<br> | ||
| messages=set - set histogram vector (fmat)<br>clear - clear histogram<br>bang - output stats<br>norm - switch normalize<br> | | messages=set - set histogram vector (fmat)<br>clear - clear histogram<br>bang - output stats<br>norm - switch normalize<br> | ||
− | | inlets= | + | | inlets=1 - data input<br> |
− | | outlets= | + | | outlets=1 - average<br>2 - standard deviation<br>3 - count<br> |
}} | }} | ||
Line 140: | Line 185: | ||
| attributes=out - reference to external fmat to store the sub-matrix<br> | | attributes=out - reference to external fmat to store the sub-matrix<br> | ||
| messages=out - reference to external fmat to store the sub-matrix<br>end - end of submatrix coordinates<br>begin - start of submatrix coordinates<br> | | messages=out - reference to external fmat to store the sub-matrix<br>end - end of submatrix coordinates<br>begin - start of submatrix coordinates<br> | ||
− | | inlets= | + | | inlets=1 - fmat<br> |
− | | outlets= | + | | outlets=1 - sub-matrix<br> |
}} | }} | ||
Line 148: | Line 193: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - (1|2|row|col) sum over rows or columns<br> |
| attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row|col|1|2) perform sum over rows or columns<br>out - reference to external fmat to store the sum<br> | | attributes=type - (fmat) always output an fmat even for scalar results<br>mode - (row|col|1|2) perform sum over rows or columns<br>out - reference to external fmat to store the sum<br> | ||
| messages=out - reference to external fmat to store the sum<br> | | messages=out - reference to external fmat to store the sum<br> | ||
− | | inlets= | + | | inlets=1 - incoming fmat<br> |
− | | outlets= | + | | outlets=1 - sum of fmat<br> |
}} | }} | ||
Line 159: | Line 204: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - number of singular values<br> |
| attributes=mode - (auto|manual) automatically eliminate negligible singular values<br>outvt - reference to external fmat to store V'<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br> | | attributes=mode - (auto|manual) automatically eliminate negligible singular values<br>outvt - reference to external fmat to store V'<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br> | ||
| messages=outvt - reference to external fmat to store V'<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br> | | messages=outvt - reference to external fmat to store V'<br>outs - reference to external fmat to store S<br>outu - reference to external fmat to store U<br> | ||
− | | inlets= | + | | inlets=1 - fmat to be decomposed by SVD<br> |
− | | outlets= | + | | outlets=1 - U<br>2 - S<br>3 - V'<br> |
}} | }} | ||
Line 173: | Line 218: | ||
| attributes=out - reference to external fmat to store the transposition<br> | | attributes=out - reference to external fmat to store the transposition<br> | ||
| messages=out - reference to external fmat to store the transposition<br> | | messages=out - reference to external fmat to store the transposition<br> | ||
− | | inlets= | + | | inlets=1 - fmat to be transposed<br> |
− | | outlets= | + | | outlets=1 - transposed fmat<br> |
+ | }} | ||
+ | |||
+ | {{Module | | ||
+ | | name=mnm.viterbi | ||
+ | | brief= | ||
+ | | descr= | ||
+ | | arguments=none | ||
+ | | attributes=get - debug : get intern values.<br>latency - maximum latency (nb of frames)<br>verbose - verbose or not (0|1)<br>line - on|off line<br> | ||
+ | | messages=get - debug : get intern values.<br>locpaths - get locpaths matrix<br>latency - maximum latency (nb of frames)<br>verbose - verbose or not (0|1)<br>bang - bang to decode<br>reinit - input message reinit<br> | ||
+ | | inlets=1 - bang to decode, or reinit message to reset PSIs and DELTAs<br>2 - observation matrix logB[T,K]<br>3 - state prior distribution Pi[1,K]<br>4 - state transition matrix A[K,K]<br> | ||
+ | | outlets=1 - decoded best path<br>2 - debug<br> | ||
}} | }} | ||
Line 181: | Line 237: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - fmat to be used as right operand<br> |
| attributes=swap - (yes|no) swaps operands<br>out - reference to external fmat to store the result<br> | | attributes=swap - (yes|no) swaps operands<br>out - reference to external fmat to store the result<br> | ||
| messages=out - reference to external fmat to store the result<br> | | messages=out - reference to external fmat to store the result<br> | ||
− | | inlets= | + | | inlets=1 - left operand<br>2 - right operand<br> |
− | | outlets= | + | | outlets=1 - resulting fmat<br> |
}} | }} | ||
Line 192: | Line 248: | ||
| brief= | | brief= | ||
| descr= | | descr= | ||
− | | arguments= | + | | arguments=1 - fmat to be used as right operand<br> |
| attributes=swap - (yes|no) swaps operands<br>out - reference to an external fmat to store the result<br> | | attributes=swap - (yes|no) swaps operands<br>out - reference to an external fmat to store the result<br> | ||
| messages=out - reference to an external fmat to store the result<br> | | messages=out - reference to an external fmat to store the result<br> | ||
− | | inlets= | + | | inlets=1 - left hand side fmat operand<br>2 - right hand side fmat operand<br> |
− | | outlets= | + | | outlets=1 - fmat result<br> |
}} | }} |
Revision as of 03:28, 3 March 2008
(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 | ' | |||||||||||
|
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 | ' | |||||||||||
|