[MacPorts] #46252: gmtk @1.1.1 new port submission for the Graphical Models Toolkit
MacPorts
noreply at macports.org
Thu Oct 29 14:41:09 PDT 2015
#46252: gmtk @1.1.1 new port submission for the Graphical Models Toolkit
-------------------------+--------------------------------
Reporter: rprogers@… | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gmtk |
-------------------------+--------------------------------
Comment (by rprogers@…):
Replying to [comment:14 mojca@…]:
> How does one test the program?
For a very simple test, you can download the
[https://trac.macports.org/attachment/ticket/46252/GMTK-test.tar GMTK-
test.tar] attachment and do
{{{
gmtkTriagulate -strF test.str
gmtkViterbi -strF test.str -inputM test.mtr -of1 test.flat -ni1 1 -fmt1
flatascii -vitVals -
}}}
The correct output from the last command should look like
{{{
Creating Junction Tree
DONE creating Junction Tree
Segment 0, after CE, viterbi log(prob(evidence)) = -1.386294, per frame
=-0.693147, per numUFrams = -0.693147
========
Segment 0, number of frames = 2, viterbi-score = -1.386294
Printing random variables from (P,C,E)=(1,1,0) sections
Ptn-0 P: q(0)=hello
Ptn-1 C: q(1)=world
Total data log prob for all segments is: -1.386294361e+00
### Final time (seconds) just for decoding stage: User: 0.000000, System:
0.000000, CPU 0.000000
____ PROGRAM ENDED SUCCESSFULLY WITH STATUS 0 AT Thursday October 29 2015,
14:32:55 PDT ____
}}}
For more extensive testing we have a bunch of models and tutorials
available at [http://melodi.ee.washington.edu/gmtk/]. Many of these are
quite large, so we don't distribute them by default.
--
Ticket URL: <https://trac.macports.org/ticket/46252#comment:19>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list