Trending Technology Machine Learning, Artificial Intelligent, Block Chain, IoT, DevOps, Data Science

Recent Post

Codecademy Code Foundations

Search This Blog

Organizing the Knowledge in Artificial Intelligence

Representing the knowledge
  • Frames
  • Semantic Networks
  • Rules
  • Propositional and Predicate Logic
Frames :-
  • Natural language understanding requires inference i.e., assumptions about what is typically true of the objects or situations under consideration.
  • Such information can be coded in structures known as frames.
Need of frames
  • Frame is a type of schema used in many AI applications including vision and natural language processing.
  • Frames provide a convenient structure for representing objects that are typical to a stereotypical situations.
  • The situation to represent may be visual scenes, structure of complex physical object, etc.
  • Frames are also  useful for representing commonsense knowledge.
  • As frames allow nodes to have structures they can be regarded as three-dimensional represent ions of knowledge.
  • A frame is similar to a record structure and corresponding to the fields and values are slots and slot fillers.
  • Basically it is a group of slots and fillers that defines a conventional object.
  • A single frame is not much useful. Frame systems usually have collection of frames connected to each other. Value of an attribute of one frame may be another frame.
A frame for a book is given below.

  •  The above example is simple one but most of the frames are complex.
  • Moreover with filler slots and inheritance provided by frames powerful knowledge representation systems can be built.
  • Frames can represent either generic or frame.
Following is the example for generic frame.

  • The fillers may values such as computer in the name slot or a range of values as in types slot.The procedures attached to the slots are called procedural attachments.
There are mainly three types of procedural attachments:
  • if-needed,
  • default and
  • if-added
As the name implies if-needed types of procedures will be executed when a filler value is needed.

Default value is taken if no other exists. Defaults are used to represent commonsense knowledge. Commonsense is generally used when no more situation specific knowledge is available.

The if-added type is required if any value is to be added to a slot. In the above example, if a new type of computer is invented
       ADD_COMPUTER procedure should be executed to add that information.

An if-removed type is used to remove a value from the slot.

No comments:

Post a Comment

Popular Posts