Chapter 5, Class 9 - AI
Chapter 5, Class 9 - AI
Learning-based Approach: It refers to AI modelling where the relationship or patterns in data are not
clearly defined by the developer. In this approach, random data is fed into the machine and it is left to
the machine to figure out patterns and trends on its own. Generally, this approach is followed when the
data is unlabelled and too random for a human to make sense out of it. Thus, the machine looks at the
data, tries to extract similar features out of it and clusters the same data sets together. In the end, with
the output, the machine tells us about the trends which it observed in the training data.
10. The design phase is a crucial stage in AI life cycle where most of the underlying biases seep in.
Bias can be introduced by the selection or sampling of the training data itself. This may happen
unintentionally by excluding certain groups or data sets. So, when the resulting model gets
applied to these groups, the accuracy is inevitably lower than it is for groups that were included
in the training data. Additionally, training data usually requires labels used to “teach” the
Machine Learning model during training. These labels often come from humans and carry the
risks of bias. It is especially important to assess variance in performance across sensitive factors
such as race and gender.
11. Classification: This is a rule-based AI modelling technique used to classify each item in a set of
data into one of a predefined set of classes or groups. It is a supervised learning approach,
meaning that it requires labelled data for training. Once the model is trained, it can be used to
predict the class of new, unlabelled data points. In classification, the algorithm is able to
determine which points in the data set belong to either side of the classification function
represented by the dotted line. Usually, the data set used for classification is labelled data and is
sorted as labelling is done. For example, if we want to train a model to identify Classification if an
image is of a mango or grapes, we need to train it with multiple images of both mango and
grapes along with their labels. Then the machine classifies images on the basis of the labels and
predicts the correct label for test data.
Clustering: This is a Machine Learning model where the machine generates its own rules or algorithms
unlike a rule-based model. The data fed into such a model is usually unlabelled or random. The
algorithms are generated on their own based on data set and the machine needs to derive patterns or
trends from the training data set to cluster the ones which follow the same pattern. Unlike classification,
the final output labels are not known in advance in Clustering.
Note: Create your own data set and perform classification and clustering. Clustering
12. Using the latest advances in Artificial Intelligence (AI) in a library to meet the needs of both the
users and the library staff, AI can be useful in many ways such as:
(a) To facilitate the process of reserving a book and elastic searching for users or books
using a QR code.
(b) Using Machine Learning (ML) technologies, all data can be analyzed, and librarians can
observe trends in readers’ choices and create an automated system of
recommendations and acquire new books which may be of interest to readers or give
feedback to the publishing house.
(c) Each book in the library can have embedded Radio Frequency Identification (RFID) tags
to quickly scan the book using a wireless handheld RFID scanner.
(d) Smart shelves containing several RFID antennas can help in maintaining issued or
returned books or even missing books.
13. A decision tree is a map of the possible outcomes of a series of related choices. The starting
point of any decision tree is known as its Root. Decision trees are made on the basis of data set
and change according to the parameters for modelling.
Advantages:
Evaluation of knowledge, skills, measurable terms, and beliefs is part of the educational assessment that
needs to be logical, reliable, quick, and automated. A decision tree can be applied to the educational
assessment for predicting a student’s behaviour, performance, identification of weak students, and
prediction of performance in the final exam. The outcome of a decision tree can predict the number of
students who are likely to fail or pass the exam and can help the educator to improve the performance
of those who are unlikely to pass the exam.
14. To solve any problem, we need data that consists of examples and cases from that particular
domain. The data is the source and base of the entire AI framework, so it should be accurate,
reliable, and traceable. Data is available in different formats such as image, text, audio, video,
time series, etc., and the collecting phase of data is called data acquisition. After collecting data,
it should be structured in any of the formats like SQL, table, MSExcel, CSV file, etc.
In predicting the weather, there are several data features that can be used as inputs to an AI model,
such as:
(a) Weather: Weather is used for getting information on current weather condition. It can
be Sunny, Overcast or Rainy.
(b) Temperature: The temperature at a specific time and location is an important factor in
predicting the weather. It can be measured in Celsius or Fahrenheit.
(c) Humidity: Humidity is the amount of moisture in the air and is an important factor in
determining the likelihood of precipitation.
(d) Wind speed and direction: Wind speed and direction can be used to predict how
weather systems will move and how they will impact a specific location.