Question No. 2 Marks 10
Using deftemplate add a function with name “person” with slots name, age, degree and gpa. Then add fact of that person with your details.
Also write a rule with name “is-student-passed” where you will set condition on cgpa, if cgpa will be 3.5 or 3.7 then student will be passed. Write the code for this rule and run this rule.
Take screenshots of your CLIPS IDE window. If any student will send code on word or pdf file marks will be zero.
Questions No. 01 10 marks
Consider the search space below, where A is the start node and O is a goal node. Consider the tree as given below, show in table displaying how does BFS (Breadth First Search) work on given tree using simple search algorithm.
In machine-learning problem space can be represented through concept space, instance space version space and hypothesis space. These problem spaces used the conjunctive space and is very restrictive one and also in the above-mentioned representations of problem spaces, it is not sure that the true concept lies within conjunctive space.
Discuss the case if we have a bigger search space and want to overcome the restrictive nature of conjunctive space, then how can we represent our problem space. Secondly in a given scenario which algorithm is used for our problem space to represent the learning problem.
In conventional programming approach programming is sequential task that is performed in three sequential steps, first one is designing, then coding/programming and then debugging. On the other hand, Knowledge engineering, we are designing the Expert System that involve different activities like assessment, knowledge acquisition, design, testing, documentations and maintenance. In Conventional programming we only focuses on solution of the problem while in Expert System ES programming focuses in problem. In Knowledge Engineering main philosophy on right knowledge base, because solution will be derived from the generic reasoning machine.