ProbCog[github]使用心得

1. After installing ProbCog,you can run blnquery and mlnquery. If the terminal warns that 'command not found', please install the ProbCog again and configure the env correctly;

 

2. How to mlnlearn from command ?

>> mlnlearn -i smoking.mln -t smoking-train.db -o lindayong.mln --run 

 

3. How to mlnquery from command ?

>> MLNinfer -i wts.pybpll.smoking-train-smoking.mln -e smoking-test-smaller.db -q "Smokes, Smokes(Ann) v Smokes(Bob), Smokes(Ann) ^ Smokes(Bob)" -mcsat -r smoking-test-smaller-pybpll.smoking-train-smoking.results -maxSteps 5000 -r smoking-test-smaller-pybpll.smoking-train-smoking.results -debug > lindayong.results

转载于:https://www.cnblogs.com/linxd/p/4922781.html

你可能感兴趣的:(ProbCog[github]使用心得)