Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there good examples of using pracmln from a python script #26

Open
SND8041 opened this issue Feb 13, 2019 · 3 comments
Open

Are there good examples of using pracmln from a python script #26

SND8041 opened this issue Feb 13, 2019 · 3 comments

Comments

@SND8041
Copy link

SND8041 commented Feb 13, 2019

Thanks God that I have successfully installed and configured Python2.7, pracmln and probCog. I want to write code as a python script for creating and running an MLN. Let's say the MLN is the example Smoker's problem that has three files: smoking.mln, smoking-train.db, and smoking-test.db. From the API specification page on (http://www.pracmln.org/apidoc.html) I am able to load the smoking.mln file, load the database file but I don't know how to call mlnlearn for learning and how to use query in python code. Can you help me with that, please?

Syed

@tpacker
Copy link

tpacker commented Feb 13, 2019

Did you check out the tutorials on the wiki? https://github.com/opcode81/ProbCog/wiki/BLN-Learning-Tool

@SND8041
Copy link
Author

SND8041 commented Feb 13, 2019

Did you check out the tutorials on the wiki? https://github.com/opcode81/ProbCog/wiki/BLN-Learning-Tool

Thanks for the link. I will check and get back here if I need more help.

@nodyyu89
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants