


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Artificial Intelligence; Subject: Computer Science and Engineering; University: Arizona State University - Tempe; Term: Fall 2003;
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



CSE571 ARTIFICL INTELLIGNCE – Fall 2003 5th November 2003 Class Note Title: PROGOL / Learning AnsProlog – by Luis Tari What is Progol? It is a language implementation of “Inductive Logic Programming (ILP)”. What is ILP?
That means we want to learn a rule that has predicate p as the head, and predicates q and r are possible candidates for the body of the rule. “modeh" – to define the head of the hypothesis while “modeb” is to define the literals that should appear in the body of the hypothesis. The first number (in the example is 1) is called “recall.” It shows how many number of solutions you need. You can specify * as “no limit.” “+” and “-“ are used to impose an ordering of predicates in the rule to be learned. (and you can specify “#” as a constant). More Examples: %% Mode declaration :- modeh(1,p(+v,+v))? :- modeb(1,q(+v,-v))? :- modeb(1,r(+v,+v))? %% Background knowledge v(a). v(b). v(c). v(d). v(e). v(f). v(g). v(h). v(i). %% Positive examples p(a,d). q(a,g). r(g,d). p(b,e). q(b,h). r(h,e). p(c,f). q(c,i). r(i,f). %% Negative examples :- p(a,g). :- p(g,d). :- p(a,e). :- p(b,f).
Learning AnsProlog Rules Drawbacks of Progol was: