Part B Unit 1 Running Notes and Textbook Questions
Part B Unit 1 Running Notes and Textbook Questions
Similarly, to develop AI project, we need to follow the AI project cycle that provides us with an
appropriate framework to lead us towards our goal. The AI Project cycle provides us with a
task.
1. Problem Scoping
Problem Scoping refers to understanding a problem, finding out various factors which affect the
problem, define the goal or aim of the project.
The 4W’s of Problem Scoping are Who, What, Where, and Why.
This W’s helps in identifying and understanding the problem in a better and efficient manner.
• Who - “Who” part helps us in comprehending and categorizing who all are affected
• directly and indirectly with the problem and who are called the Stake Holders.
• What - “What” part helps us in understanding and identifying the nature of the
problem and under this block, you also gather evidence to prove that the problem
• Where - "Where” does the problem arise, situation, context, and location?
2. Data Acquisition:
The next stage of the AI project cycle after problem scoping is Data Acquisition. As the term
clearly mentions, this stage is about acquiring data for the project.
Data can be a piece of information or facts and statistics collected together for reference or
analysis. Whenever an AI project is able to predict an output, it should be trained first using
data.
Sources of data:
2. Interview: An interview refers to a one-on-one conversation between the user, clients and analyst
3. Observation: refers to human or mechanical watching, noticing what people actually do or what
5. Web scraping: is a data collection technique using a tool called web scraper that extracts data
from websites.
6. Sensors: are mini devices that can collect data about an environment, body or any specific task.
8. The internet:
Data Acquisition refers to understanding, gathering, filtering, cleaning data as per the requirement
3. Data Exploration:
Data Exploration is the third stage in the AI project cycle. The collected data is cleaned by
removing redundant data and handling missing values and then analysed using data
visualisation and statistical techniques to understand the nature of the data.
Data Visualisation: refers to the process of representing the data visually or graphically by using
2. Graphs: these contain an X and Y axis with at least one showing numerical data.
3. Maps: Used for visualising geospatial, geographic data. Examples: Choropleth, google maps,
heat map.
4. Temporal: these display data over a period of time, with a start and a finish time. Example:
timeline
5. Network:
These demonstrate how data is related within a network.
6. Infographics: these visually display textual data in a multiple of aesthetically pleasing ways.
Word cloud
4. Modelling:
Modelling refers to mathematically analysing the data and its inside relationships and with the
parameters passed and finding ways through algorithm and repeated training to reach desired and
expected intelligent outcomes.
Categories of AI models:
Generally, AI models can either be data driven(Learning based model) or model driven(Rule based
model).
5. Evaluation:
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 the process of understanding the reliability and final performance of any AI model
by giving the test data set into the model and comparing it`s output with actual answers.
a. test models: test multiple models to find which one distinguishes between various types of
b. validation: test the model with new ideas to see can correctly identify items in real time and
c. improvement: if the model strugglers with certain items, add more training data or adjust the
6. Deployment:
Deploying the model brings the AI system into real world application.
a. model integration: integrate the model into a system where the system automatically suggests
the changes.
b. monitoring: continuously track the system’s performance, making sure it correctly identifies
c. maintenance: regularly update the model with new data to adapt to changes.
Introduction to AI Domains
Artificial Intelligence becomes intelligent according to the training it gets. For training, the
machine is fed with datasets. According to the applications for which the AI algorithm is being
developed, the data fed into it changes. With respect to the type of data fed in the AI model, AI
AI systems gathers a lot of data from different sources. They look at this data to find patterns,
trends and relationships. This helps the system to make predictions and solve problems.
a. Recommendation system: These systems analyse user’s data such as preference, behaviour, or
past interactions to suggest personalized options. Netflix, Disney Hotstar and Amazon are the
b. Price comparison websites: these websites help users compare prices of products or services
from different sellers. They use statistical data to find useful information like price trends, best
deals, smart pricing strategies. They collect a lot of price data, organize it, understand it, and
show the result to the users. Price grabber, Price Runner, Junglee, Shopzilla, Deal time are some
examples.
2. Computer Vision:
Computer Vision, abbreviated as CV, is a domain of AI that depicts the capability of a machine to
get and analyse visual information and afterwards predict some decisions about it. The entire
process involves image acquiring, screening, analysing, identifying and extracting information.
This extensive processing helps computers to understand any visual content and act on it
accordingly. In computer vision, Input to machines can be photographs, videos and pictures from
The process starts with collecting visual data- this could be a photograph, a video, or even images
from special sensors like thermal cameras. The computer works to analyse and identify important
details such as objects, shapes, or patterns. Once it understands the visual content, it can act on it,
Examples of CV:
a. object detection: Google lens is an application of google that can identify objects in images by
analysing a photo taken from the real world. It uses the object detection algorithm to recognize
b. face lock in smartphones: smartphones come with a security system of using facial
recognition to lock and unlock smartphones. It uses the front cameras and computer vision
algorithms to map and store facial features securely. Once it is stored every time to unlock it
matches the input face with the features already stored in it.
c. self driving cars: self driving cars utilizes CV to recognize objects such as lamp posts,
pedestrian crossings, and stop signs. Image classification and object detection techniques enable
self driving cars to identify road boundaries, obstacles and determine actions such as stopping or
continuing to drive.
d. surveillance systems: CV is widely used to keep an eye on public places, buildings and
e. agricultural monitoring: CV is used in agriculture for tasks like monitoring crops, detecting
f. retail automation: smart checkout systems use computer vision to recognize products and
g. drone surveillance: drones equipped with CV systems can perform aerial inspections, monitor
NLP is the domain of AI focused on enabling machines to understand, analyse and interact with
humans through natural language. It works with two types of data: text and speech.
Mainly concerned with the interactions between computers and human languages in the form of
Examples of NLP:
a. email filters: identifies specific keywords, phrases and patterns to determine the appropriate
category for each mail. Similarly, analysing suspicious contetnt, sender behaviour and common
spam indicators, it ensures that irrelevant emails are directed to spam filter.
b. chatbots: are a form of artificial intelligence that is programmed to interact with humans in
Machine Learning, which means that they understand the complexities of the English
language and find the actual meaning of the sentence and they also learn from their
Chatbots work in two simple steps. First, they identify the meaning of the question asked and
collect all the data from the user that may be required to answer the question. Then they answer
c. sentiment analysis:
Almost all the world is on social media these days! And
companies can use sentiment analysis to understand how a
particular type of user feels about a particular topic, product,
etc. They can use natural language processing, computational
linguistics, text analysis, etc. to understand the general
sentiment of
the users for their products and services and find out if the sentiment is good, bad, or
neutral. Companies can use sentiment analysis in a lot of ways such as to find out the
emotions of their target audience, to understand product reviews, to gauge their brand
sentiment, etc. And not just private companies, even governments use sentiment
analysis to find popular opinion and also catch out any threats to the security of the
nation.
d. Language Translator: . Google Translate and other translation tools as well as use
Sequence to sequence modeling that is a technique in
Natural Language Processing. It allows the algorithm to
convert a sequence of words from one language to another
which is translation.
e. Voice assistants: They use a complex combination of speech recognition, natural language
understanding, and natural language processing to understand what humans are saying and then
act on it. Siri, Alexa, or Google Assistant.
Frameworks:
Frameworks are a set of steps that help us in solving problems. It provides a step-by-step guide
Ethical Frameworks
Frameworks: Frameworks are a set of steps that help us in
solving problems.
Ethics are morals or values that assists in identifying what is right and what is wrong.
Ethical frameworks provide a valuable tool that helps us in dealing with complicated moral issues.
They offer a structured approach that assists both individuals and organizational level decision
making by considering their ethical viewpoints. Such a systematic approaches minimizes the risk of
Ethical frameworks are important to ensure AI development matches the goals for the development
of human beings.
a. fairness and bias: AI should tret everyone equally and not favour anyone.
b. privacy and data protection: AI must use personal data carefully to keep it safe and private.
c. environmental impact: AI systems should save energy and protect the environment.
d. accountability: there must be ways to check and correct AI mistakes, and make AI responsible.
f. effects on employment: AI may replace some jobs, so workers must be trained to handle new
roles.
Ethical frameworks for AI can be categorized into two main types: sector-based and value- based
frameworks.
1. Sector based ethical frameworks: These frameworks focus on an ethical challenge specific to a
Bioethics: Used in healthcare to ensure decisions are fair, respectful and protect everyone’s rights.
2. Value based ethical frameworks: these frameworks concentrate on essential ethical principles
b. utility based: aims to benefit the maximum number of people by balancing risks and benefits.
c. virtue- based: focuses on good character traits like kindness, compassion and honesty while using
AI.
Bioethics:
Bioethics is an ethical framework used in healthcare and life sciences. It deals with ethical issues
related to health, medicine, and biological sciences, ensuring that AI applications in healthcare
Principles of Bioethics:
These principles ensure fairness, respect, accountability in decision making. The four primary
1. Respect of Autonomy: Respects a person’s right to make their own choices about their body
and life.
3. Non- maleficence: avoid causing harm and act in the best interest of others.
A. There are six steps of AI Project cycle : Problem Scoping, Data Acquisition, Data Exploration,
A. Statistical data is a critical domain of Artificial Intelligence (AI) that focuses on the collection,
3. The face lock feature in smartphone is an application of AI. Exp;lain how this feature
A. Smartphones come with a security system of using facial recognition to lock and unlock
smartphones. It uses the front camera and computer vision algorithms to map and store facial
features securely. Once it is stored, every time to unlock it matches the input face with the
features already stored in it. Face Lock feature belongs to the Computer Vision Domain.
A. The testing phase of the AI project cycle is a critical step where the model’s performance is
evaluated to ensure it meets the predefined goals and requirements. If the model does not fulfil
the required objectives, modifications may be necessary. Once the developer ensures the model
achieves satisfactory results and aligns with the project’s goals, the AI project proceeds to the
deployment phase. This means the project will be transitioned into an operational state, where
it is fully implemented and handed over to the end-user for practical use.
A.These frameworks concentrate on essential ethical principles and values such as honesty,
respect and fairness that influence decision-making. They are based on different moral beliefs
and help us judge whether actions are right or wrong, encouraging ethical behaviour. They are
analysing a photo taken from the real world. It uses the object detection algorithm to recognise and
identify an object within images. For example, if you are unaware of the name of a flower in your
garden, click a picture with your phone using Google Lens application and it will reveal its name
Face lock in smartphones: Smartphones come with a security system of using facial recognition to
lock and unlock smartphones. It uses the front camera and computer vision algorithms to map and
store facial features securely. Once it is stored, every time to unlock it matches the input face with
crossings, and stop signs. Image classification and object detection techniques enable self-driving
cars to identify road boundaries, obstacles, and determine actions such as stopping or continuing
to drive.
to a field or industry. They are trained to focus on a particular sector such as technology, finance
or healthcare. For instance, in technology, key considerations include data privacy and the
responsible development of AI. In healthcare, the emphasis is on making fair decisions that
problems. It combines ideas and principles from fields like medicine, law, and philosophy to
help doctors, patients, and researchers make fair and respectful decisions. Bioethics ensures
that healthcare decisions are made fairly, respectfully, and in ways that protect everyone’s
rights. This helps build trust and improve the overall quality of care.
principles and values such as honesty, respect and fairness that influence decision-making.
They are based on different moral beliefs and help us judge whether actions are right or wrong,
Rights-based ethical frameworks: These frameworks are based on respecting and upholding
individual’s rights. These frameworks ensure that all policies and actions focus on basic human
rights. In context to AI, it means that AI systems should respect human rights and not
discriminate any specific group.
maximising overall good, or minimising harm. These frameworks balance benefits and costs
to achieve the maximum benefit to the maximum number of people. In context to AI, it may
involve the potential benefits of AI applications in the betterment of human race against the
building a strong moral foundation and good character traits such as kindness, compassion and
empathy involved in decision making. In context to AI, it would mean that the developers and
These categories offer a clear way to handle ethical issues in AI development and use, making
sure that the needs of different sectors and key ethical values are properly considered.
Job loss: Machines and robots powered by AI can replace human workers, which could lead
to unemployment. For example, a hotel in Japan called Henn-na hotel started using robots for
Privacy risks: Many AI-powered devices and apps collect personal information, raising
concerns about privacy. For instance, Smartphones had a Face ID feature that used advanced
technology to recognise faces. Initially, the phones could be unlocked using a printed photo of
the user. However, it has since been upgraded due to privacy concerns.
AI mistakes: AI systems can make errors that have serious consequences. For example, Uber’s
self-driving cars ran through red lights during a test, and Microsoft’s chatbot Tay started posting
offensive messages online shortly after its launch.
Autonomous weapons: AI is used to create “killer robots” that can make decisions on their
own. These weapons are risky because they could be misused or hacked, leading to dangerous
situations.
Bias and discrimination: AI systems learn from data, and if the data is biased, the AI can also
become biased. This has caused problems, such as unfair hiring decisions or facial recognition
Environmental impact: Running AI systems requires a lot of electricity, which can harm the
environment by increasing carbon emissions. This makes it important to consider how we can
A. Ethical frameworks provide a valuable tool that help us in dealing with complicated moral
issues. They offer a structured approach that assists both individuals and organisational level
guarantees that possible consequences are sensibly assessed and it minimises the risk of
can make choices that align with their values, promote beneficial outcomes for all stakeholders,
and improve the overall responsibility and ethical decision-making. AI is introducing many
great new applications and providing benefits across all areas of our lives. As AI moves from
research labs into the real world, more and more people are becoming aware of ethical concerns
AI is a powerful tool. It can be used in ways that can affect the society – positively or negatively.
For example, electricity or nuclear energy, a lot depends on us - how we utilise AI for humanity.
stage involves gathering raw data, which is essential for referencing or performing analysis that
will guide the project. The process of data acquisition encompasses the collection of a wide
range of data types, including text, numerical values, images, videos, and audio. These various
forms of data can be sourced from multiple places such as the internet, academic journals,
newspapers, and other relevant publications or databases. The goal of data acquisition is to
capture accurate and valuable information that reflects real-world scenarios. This collected data
serves as a foundation of the project that provides valuable insights and enabling the
improvement of the project’s performance and the development of more precise AI solutions.
Data Exploration: Data exploration is a crucial step that involves analysing large volumes of
data to uncover meaningful patterns, trends, and relationships using various data visualisation
and statistical techniques. By transforming raw data into visual formats such as charts, graphs,
and plots, data scientists can more easily interpret and draw insights from the information. This
analytical approach not only helps to reveal underlying structures within the dataset but also
facilitates the identification of anomalies or irregularities, ultimately laying the groundwork for
A. Natural language is the language used by humans to communicate with each other by writing
or speaking. Natural Language Processing (NLP) is the domain of artificial intelligence focused
on enabling machines to understand, analyse, and interact with humans through natural
language. NLP works with two main types of data: text and speech. It combines the fields of
linguistics and computer science to analyse language structure and provide guidelines to make
models which can comprehend, break down and separate significant details from text and
speech. For example, social media platforms like X (formerly Twitter) use NLP to identify and
filter out harmful content in user tweets. Amazon uses NLP to analyse customer reviews and
Plagiarism Checker: It uses NLP to search through online repositories and identify any
cases of published content that match your work line by line, warning you about them.
Chatbots: Chatbots are software applications that use NLP to communicate with users via text
or speech. Smart assistants like Alexa and Siri understand the speech pattern of the instructions
Fairness and bias: AI should treat everyone equally. Ethical frameworks help reduce bias in
AI, ensuring it do not favour one group over another. This ensures all individuals are given
Privacy and data protection: AI uses a lot of personal data, so guidelines are needed to protect
people’s privacy and ensure data is used responsibly. Clear rules help prevent misuse and ensure
data security.
Environmental impact: AI systems can use a lot of energy. Ethical frameworks encourage
creating AI that uses less energy and is better for the environment. This ensures that AI doesn’t
Accountability: People are impacted by the decisions made by AI. There need to be methods
for comprehending and contesting these choices. This guarantees that AI is responsible for its
deeds.
Transparency and explainability: AI decision-making should be understandable to the
general public, particularly in critical domains like healthcare and finance. In addition to
Effects on employment: Since AI has the potential to replace some professions, it’s critical to
support workers by providing them with new skill training. This makes it easier for workers to
to a field or industry. They are trained to focus on a particular sector such as technology, finance
or healthcare. For instance, in technology, key considerations include data privacy and the
responsible development of AI. In healthcare, the emphasis is on making fair decisions that
problems. It combines ideas and principles from fields like medicine, law, and philosophy to
help doctors, patients, and researchers make fair and respectful decisions. Bioethics ensures
that healthcare decisions are made fairly, respectfully, and in ways that protect everyone’s
rights. This helps build trust and improve the overall quality of care.