Page 161 - Ai Book - 10
P. 161
How to Draw?
Suitable for which type of data It is suitable to calculate the probability of an event
or problem stated.
DATA MODELLING
Data Modelling is an important stage in the process of AI project cycle where we build a model from prepared
data using an appropriate technique.
In general, AI modelling techniques can be broadly classified into two approaches:
Rule Based Approach
The Rule based approach is a simple and easy approach because it is directly based on rules. You can use this
approach to build an AI system that work on the basis of a predefined hierarchy of rules that govern how to
transform user input into desired course of action or automated actions. The two major components of rule-
based artificial intelligence models are “a set of rules” and “a set of facts”. Rule based approach is not widely
used in AI systems at large scale because a small error creates havoc in terms of manual efforts and time. Let us
understand with the help of a simple example.
Suppose, we have a dataset which tells us about the conditions on the basis of which we can decide whether a
basketball player may be playing or not. The parameters are: Outlook, Temperature, Humidity and Wind. Now,
let’s take various possibilities of these parameters and see in which case the player may be playing and in which
case it may not.
Outlook Temperature Humidity Wind Playing Basketball
Overcast Mild High Strong Yes
Rainy Cool Normal Weak No
Sunny Hot High Weak Yes
Rainy Cool High Strong No
Sunny Hot High Strong Yes
Rainy Mild High Strong Yes
Rainy Cool Normal Strong No
Overcast Cool High Weak Yes
Sunny Hot High Weak Yes
Overcast Mild High Strong Yes
Rainy Cool Normal Weak No
Sunny Hot High Weak Yes
Rainy Cool High Strong No
Sunny Hot High Strong Yes
After looking through all the cases, we feed this data into the machine along with the rules which tell the
machine all the possibilities. The machine trains on this data and now is ready to be tested. While testing the
35
35