Class 10 Ai Notes
Class 10 Ai Notes
Q. What is AI bias ?
AI bias is the underlying prejudice in data that’s used to create AI
algorithms, which can ultimately result in discrimination and other social
consequences.
AI Bias can creep into algorithms in several ways. AI systems learn to make
decisions based on training data, which can include biased human decisions
or reflect historical or social inequities, even if sensitive variables such as
gender, race, or sexual orientation are removed.
AI PROJECT CYCLE
Data Exploration
Data Exploration is the process of arranging the gathered data uniformly for a
better understanding. i.e. data can be arranged in the form of a table, plotting
a chart, or making a database.
Tools for Data Exploration : Google Charts , Tableau, Fusion Charts,
High Charts etc
Modelling
Modelling is the process in which different models based on the visualized
data can be created and even checked for the advantages and
disadvantages of the model. To Make a machine learning model there are 2
ways/Approaches Learning-Based Approach and a Rule-Based Approach.
An unsupervised learning model works on unlabeled dataset. This means that the data which is fed to
the machine is random and there is a possibility that the person who is training the model does not have
any information regarding it. The unsupervised learning models are used to identify relationships,
patterns and trends out of the data which is fed into it. It helps
the user in understanding what the data is about and what are the major features identified by the
machine in it.
Reinforcement Learning
It a type of machine learning technique that enables an agent (model) to learn in an interactive
environment by trial and error using feedback from its own actions and experiences. Though both
supervised and reinforcement learning use mapping between input and output, unlike supervised
learning where feedback provided to the agent (model) is correct set of actions for
performing a task, reinforcement learning uses rewards and punishment as signals for positive
and negative behavior. Reinforcement learning is all about making decisions sequentially.
What is Evaluation ?
Evaluation is a process of understanding the reliability of any AI model, based on outputs by feeding the
test dataset into the model and comparing it with actual answers. i.e.o once a model has been made and
trained, it needs to go through proper testing so that one can calculate the efficiency and performance of
the model.
Neural Networks are collection of Neurons containing specific algorithm which are
networked together to solve a particular set of problems irrespective of data size
The key advantage of Neural Networks, are that they are able to extract data
features automatically without needing the input of the programmer.
DATA SCIENCE
Disadvantages:
- Data privacy concerns: There is a risk of data privacy concerns when data is collected
and analyzed.
- Bias in data: Data can be biased due to many factors, such as the selection of the data
or the way it is collected.
- Misinterpretation of data: Data science involves complex statistical analysis, which
can sometimes lead to misinterpretation of the data.
Explain the concept of bias and variance in machine learning and how they affect
model performance.
Answer: Bias refers to systematic error, while variance refers to model sensitivity to
data. High bias leads to under fitting, while high variance leads to overfitting. The
goal is to balance bias and variance to achieve optimal model performance.
COMPUTER VISION
Pixel value
• Pixel value represent the brightness of the pixel.
• The range of a pixel value in 0-255(2^8-1)
• where 0 is taken as Black or no colour and 255 is taken as white.
Object Detection: This task involves identifying and locating objects within an
image, providing bounding boxes around detected objects. It focuses on
detecting multiple objects and their positions.
Image Classification: This task assigns a single label to an entire image based
on its content. It does not provide the locations of objects, only categorizes the
image as a whole.
Image Segmentation: This task divides an image into segments, each
representing a different object or region. It provides pixel-level classification,
offering detailed information about the structure and boundaries within the
image.
Components of NLP :
There are two components of NLP as given -
Natural Language Understanding (NLU)
Understanding involves the following tasks -
• Mapping the given input in natural language into useful representations.
• Analyzing different aspects of the language.
Natural Language Generation (NLG)
It is the process of producing meaningful phrases and sentences in the form of natural
language from some internal representation.
It involves -
• Text planning - It includes retrieving the relevant content from knowledge
base.
• Sentence planning - It includes choosing required words, forming meaningful
phrases, setting tone of the sentence.
• Text Realization - It is mapping sentence plan into sentence structure.
The NLU is harder than NLG.
Steps in NLP
There are general five steps –
• Lexical Analysis - It involves identifying and analyzing the structure of words.
Lexicon of a language means the collection of words and phrases in a language.
Lexical analysis is dividing the whole chunk of txt into paragraphs, sentences,
and words.
• Syntactic Analysis (Parsing) - It involves analysis of words in the sentence
for grammar and arranging words in a manner that shows the relationship
among the words. The sentence such as “The school goes to boy” is rejected
by English syntactic analyzer.
•Semantic Analysis - It draws the exact meaning or the dictionary meaning
from the text. The text is checked for meaningfulness. It is done by mapping
syntactic structures and objects in the task domain.
•Discourse Integration - The meaning of any sentence depends upon the
meaning of the sentence just before it. In addition, it also brings about the
meaning of immediately succeeding sentence.
• Pragmatic Analysis - During this, what was said is re-interpreted on what it
actually meant. It involves deriving those aspects of language which require
real world knowledge.
EVALUATION
What is evaluation?
Evaluation is the process of understanding the reliability of any AI model, based on
outputs by feeding test dataset into the model and comparing with actual answers.
There can be different Evaluation techniques, depending of the type and purpose of
the model.
Evaluation is the final stage in AI Project Cycle. Once a model has been made and
trained, it needs to go through proper testing so that one can calculate the efficiency
and performance of the model. Hence, the model is tested with the help of Testing
Data.
Evaluation is basically done by two things:
1. Prediction: The output given by the machine after training and testing the data
is known as Prediction. (Output of the machine)
2. Reality: Reality is the real situation and real scenario where prediction has been
made by the machine. (Reality or truth).