opcode81 / ProbCog

A toolbox for statistical relational learning and reasoning.
GNU General Public License v3.0
101 stars 26 forks source link

Using formula templates in MLN files produces errors. #5

Closed mfcarmona closed 8 years ago

mfcarmona commented 8 years ago

Hello, I was trying to test HMM Alchemy example using mlnlearn and internal engine. It throws an error at 'processing line 'State(+s, 0)'. This seems odd, because '+' operator is supported, despite it is not in the proposed examples.

Probably there's something wrong with my test, as I am a newbie. Could you confirm me that '+' operator works?

Thanks These are the files I used https://alchemy.cs.washington.edu/mlns/tutorial/hmm/traffic.mln https://alchemy.cs.washington.edu/data/tutorial/traffic/traffic-train.db

mfcarmona commented 8 years ago

My fault. I had to add weights (0) to the formula templates to make it learn. Of course it works now.