WWW Scribd
WWW Scribd
B
UNIT 1—Introduction to AI
UNIT 2—AI Project Cycle
UNIT 3—Neural Network
UNIT 4—Introduction to Python
OR
150
1.1 INTRODUCTION
In the current scenario, Artificial Intelligence (AI) is a new term that covers a broad range of domains
and applications these days and is expected to impact every field in the future. Artificial intelligence
Upload your documents to download.
is gaining the spotlight across applications in our personal and professional lives. We need to take
charge of preparing ourselves and our students for the future where devices will be inbuilt with the
capabilities of a human mind.
Become
1.3 a Scribd member MADE
WHAT IS INTELLIGENCE for OF?
full access. Your first 30 days
are free.
The intelligence is difficult to define and measure. Intelligence is intangible so it varies from person
to person. Intelligence is different for different person and different situations. Intelligence cannot
be directly observed,
touched, or measured in
physical terms. However,
we can still say that it is
composed of:
Reasoning
Continue for Free
Learning
Problem solving
Perception
Linguistic intelligence
Let us go through all the components briefly:
Reasoning—It is the set of processes that help us in providing a base for judging, making
current situation by following some path. Problem solving also involves decision-making,
where in one finds the best solution of a given problem among the various alternatives
available.
Upload your documents
from sensory organs in an organized manner.
Linguistic Intelligence to download.
It is one’s ability to use, understand,
— evaluate, speak, and write
the verbal and written language. It is an important part of communication.
OR
Intelligence is of many kinds depending upon the proficiency a person has. Howard Gardner,
an American developmental psychologist describe ‘Intelligence’ in multifold as:
1. Linguistic intelligence—The ability to speak, recognize, and use mechanisms of
phonology (speech sounds), syntax (grammar), and semantics (meaning). Examples of
Linguistic intelligence are: Narrators, Orators.
Become a Scribd
2. Musical intelligence—The ability to create, communicate with, and understand meanings
member
made of sound, understanding offor
Musicians, Singers, Composers.
pitch, full
rhythm.access. Your
Example of Musical firstare:30 days
intelligence
are free.
3. Logical-mathematical intelligence—The ability of use and understand complex,abstract
ideas and relationships in the absence of action or objects. Example of Logical -mathematical
intelligence are: Mathematicians, Scientists.
4. Spatial intelligence—The ability to perceive visual or spatial information, change it, and
re-create visual images, construct 3D images, and to move and rotate images. Examples of
Spatial intelligence are: Map readers, Astronauts, Physicists.
Continue for Free
5. Bodily-kinesthetic intelligence—The ability to use complete or part of the body to
solve problems and control the fine and coarse motor skills. Example of Bodily-kinesthetic
intelligence are: Players, Dancers.
6. Intra-personal intelligence—The ability to distinguish among one’s own emotions,
intentions, and motivations. Examples of Intra-personal intelligence are: the people like
Gautam Buddha.
7. Interpersonal intelligence—The ability to recognize and make distinctions among other
people’s feelings, beliefs, and intentions. Examples of Interpersonal intelligence are: Mass
Communicators, Interviewers.
A machine is said to be artificially intelligent, if it has any of the intelligence discussed above.
To understand this, we need to finds the difference between natural/human and artificial/machine
intelligence.
152
Become a Scribd
In today member
s world, technology
’ for
is growing very full
fast and we areaccess.
heading towardsYour first
one of the
technologies of computer science which is identified as ‘Artificial Intelligence’. Artificial
30 days
booming
areus atfree.
Intelligence is nothing but making a machine that is as intelligent as a human being. The Artificial
Intelligence these days is growing around a very fast pace. It is currently working in many
areas, ranging from general to specific, such as displaying our shopping habits, self-driving cars,
playing chess, proving theorems, playing music, Painting, etc.
Our future lies in AI that can make a machine to work as a human. When a machine displays
attributes like learning, reasoning and solving problems based on the situation or the environment
same by analysing the patterns from their stored information (Machine Learning) and coming out
with the conclusion to make decisions like human beings (Artificial Intelligence).
Artificial Intelligence is an approach or skill that can make a computer, a robot, or a product to
Upload your documents to download.
think how similarly like a human. AI is a study of how human brain think, learn, decide and work,
while trying to solve a problems. And later this study gives outputs as intelligent software systems.
The aim of AI is to improve computer functions which are related to the knowledge of humans, for
example, reasoning, learning, and problem-solving.
The long-term goals of the general intelligence sector are to do research in the field of AI related
OR
to reasoning, knowledge representation, planning, learning, natural language processing, realization,
and ability to move and manipulate objects.
Before Learning about Artificial Intelligence, we should know that what is the importance of AI
and why should we learn it. Let us understand some main reasons that shows the importance of AI:
With the help of AI, we can create such software or devices which can solve real-world
survival of humans can be at risk like freezing zones, political boundaries, risky terrain, etc.
Thus we can say that AI opens a new path for other new technologies, new devices, and new
Opportunities for human being.
Continue for Free
ACTIVITY 1 –
154
OR
Following are the main goals of Artificial Intelligence:
1. Imitate human intelligence
2. Solve tasks based on knowledge
3. An intelligent connection of observation and action
4. Building a machine or a device which can perform tasks that requires human intelligence
Playing chess
Plan some surgical operation
Driving a car in traffic
are free.
Interpreting your language
5. Creating some system which can demonstrate intelligent behaviour, learn new things by
itself, show, explain, and can advise to its user.
1.9
Continue for Free
WHAT COMPRISES TO ARTIFICIAL INTELLIGENCE?
Though Artificial Intelligence is a part of computer sciences but it is very vast and requires many
other factors including the environment and its agent. To induce AI, we first need to know that what
factors or things build intelligence in a human being. Intelligence is an intangible part of our brain
which is a combination of Reasoning, learning, problem-solving observation, language
understanding, etc.
To incorporate the above factors in a machine, Artificial Intelligence requires the following
discipline:
Mathematics Biology Psychology
Sociology Computer Science Neurons Study
Statistics
AI machines has high reliability: AI machines are highly reliable and can perform the
same action multiple times with accuracy.
AI machines are best suited for risky areas: AI machines can be helpful in situations
public utilities such as a self-driving car for making our journey safer and hassle-free, facial
recognition for security purpose, Natural language processing to communicate with the
human in human-language, etc.
Become anew
Every Scribd member
technology emerges foradvantages
because of some full access.
but at the sameYour
disadvantages too. Artificial Intelligence has following disadvantages:
time it canfirst 30 days
have some
are free.
AI machines are high in cost: The hardware and software requirement of AI machines
is quite high. The high cost also includes the maintenance cost of the AI machines.
AI machines can’t think out of the box: With the emergence of AI Technology, the
machines can do the task as per the instruction and algorithm given but still they cannot
think or work out of the box e.g., a robot will only do that work for which they are trained,
or programmed.
Continue for Free
AI machines have no feelings and emotions: AI machines can only work on the
instructions and algorithm given. These machines cannot feel or react so it cannot make
any kind of emotional attachment with human, and may even harm the users if proper care
is not taken.
AI machines increase human dependency on machines: AI is a new technology but
it has made humans more dependent on the machines or devices and as a result humans
are losing their mental capabilities.
AI machines does not have original creativity: God has blessed humans with
intelligence and creativity so humans created the AI machines but on the contrary the AI
machines does not have their own intelligence and so they cannot beat the power of human
intelligence and cannot be creative and imaginative.
156
so that medical help can reach to the patient before hospitalization. The AI-based applications are
useful in understanding medical data and drawing conclusion about the medical health of humans.
These applications are applied in diagnosis and treatment, drug development, prescribing medicine,
158
10. Entertainment
In the field of entertainment, we are currently using some AI based applications in our daily
life such as Netflix or Amazon Prime. With the help of machine learning algorithms, these services
Upload your documents to download.
show the recommendations for programs or shows depending on your search history.
11. Agriculture
Agriculture is now becoming digital, and AI is emerging in this field. Agriculture is applying AI
as agriculture robotics, solid and crop monitoring, predictive analysis. AI in agriculture can be very
helpful for farmers. Agriculture is one of the core sectors and we have been modifying the cultivation
OR
process to yield more from it. The technologies like AI and IoT (Internet of Things) will be very useful
in understanding a timely planting, getting predictions, using fertilizers, harvesting and the climate.
12. E-commerce
AI is helping shoppers to find related products with recommended size, colour, or brand. Major
e-commerce companies have been using advanced technologies like AI or machine learning by using
Become a Scribd member for full access. Your first 30 days
the AI as ChatBots, AI assistants, smart logistics, using algorithms to predict and analyze customers
behaviours. The ultimate aim is to reduce shipping costs. Machine learning helps companies in
’
demand forecasting, product search ranking, product and deals recommendations, merchandising
are free.
placements, fraud detection, translations and many more.
13. Education
AI can automate grading so that the teacher can have more time to teach. AI chatbot can
communicate with students as a teaching assistant. AI in the future can act as a personal virtual
tutor for students, who will be accessible easily at any time and any place. AI or machine learning
Continue for Free
is making our education system smarter. AI and collaborative virtual networks are used to make a
perfect learning environment for students as well as teachers also.
ACTIVITY –2
OR
160
Year
Continue for Free
Development
1997 In the year 1997, IBM machine Deep Blue beats world chess champion, Gary Kasparov.
2002 AI became a part of home in the form of Roomba, a vacuum cleaner.
2006 AI became a part of business and social networking sites like Facebook, Twitter and
Netflix.
AI has made development to a remarkable level. The concept of Deep learning, big data, and
data science are now latest trends in AI like a boom. Nowadays companies like Google, Facebook,
IBM, and Amazon are working with AI and creating new devices. The future of Artificial Intelligence
Become Data
a Scribd member for full access. Your first 30 days
3. Natural Language Processing.
can be in any form. It can be in the form of numerical facts or in the form of images or
audio, voice or music. If the data is in the visual form like images or video, then it is related to
are free.
computer vision. If the data is in the form of voice or audio or music, it is related to natural language
processing.
Computer Vision is when we process graphics and video to recognize some pattern or trend.
For example, when we watch a CCTV footage and try to match the criminal face for finding the
culprit then it is AI using computer vision.
Continue for Free
Natural Language Processing is when we try to understand the language spoken by the user
for communication purpose then it is AI using natural language.
AI needs only data. The more the data, the better will be the analysis done and more accurate
will be the predictions. Thus AI require large amount of data for predicting the output. Here output
does not mean traditional computer output rather data is analyzed to find the latest trends and
patterns using the data.
162
Kano Computing: Kano Computing enables kids to develop their version of computers.
Then, they need to program that computer for the completion of tasks. The guide is available
for helping kids with the learning process.
Upload your documents to download.
VIPER: Wonderville introduced a game, Viper, to make machine learning interesting for
kids. In this game, the kids program a robot for exploring Europe.
Azure Machine Learning: This cloud-based service provides tools for organizing predictive
models as analytic solutions. It can also be used to test machine learning models, run
algorithms, and create recommender systems.
OR
Caffe: It is an open-source framework for deep learning that supports various types of
software architectures that were designed with image segmentation and image classification
in mind.
CNTK: CNTK (Computational Network Toolkit) is a deep learning toolkit developed by
Microsoft that “describes neural networks as a series of computational steps via
Become a Scribd member for full access. Your first 30 days
a directed graph.”
IBM Watson: IBM Watson is called a question answering machine. It uses analytical
“ ”
are free.
powers and artificial intelligence to replicate human-like abilities to respond to questions.
Pybrain: PyBrain is an open-source, modular machine learning library. A completely
Python-based framework, PyBrain aims to be a tool that can be used by developers ranging
from students who are just beginning to explore the world of Python, as well as computer
science researchers in the world of deep learning and neural networks.
About AI
Machine learning is an artificial intelligence technique, that is newly developed by creating
new algorithms which imitate or support human behaviour or decision-making capabilities like
Apple’s Siri, or the email ser vers which eliminate junk or spam emails. Before talking about the
facts of AI, Let us watch some videos to understand ‘What is Artificial intelligence?’
1. https://youtu.be/kWmX3pd1f10
2. https://youtu.be/2ePf9rue1Ao
3. https://youtu.be/Bg_tJvCA8zw
4. https://youtu.be/S5t6K9iwcdw
5. https://youtu.be/WSbgixdC9g8
1. Google’s AI-Powered Predictions: Using unknown location data from smartphones, Google
Maps (Maps) can analyze the speed of movement of traffic at any given time. And, with its
Upload your documents to download.
acquisition of crowd sourced traffic app Waze in 2013, Maps can more easily incorporate
user-reported traffic incidents like construction and accidents. Check the Waze app on
https://youtu.be/66jehpnKoUA. (Waze is a community driven GPS navigation app).
2. With Machine learning and language recognition, it is expected that 85% of telephonic
customer service jobs will be performed by computers and will not need human interaction
in future.
OR
3. It is a fact that with increased intelligence and ability to perform tasks with accuracy, it is
predicted that over the next few years around three million workers will be reporting to
or will be supervised by “Robot-bosses”.
4. Sony created a robotic dog called Aibo. It is one of its first toys that could be bought and
played with. It could express emotions and could also recognise its owner.
5. IBM has created a supercomputer based on AI, called Watson. Watson could understand
Become a Scribd
in real time. member for full access. Your first 30 days
questions in most of the common languages and has the ability to attend to the questions
6. Autonomous vehicles will be in market soon. The knight rider can become a reality
164
ACTIVITY–3
Title: Relate Approach: Become a chatbot
Demonstration: Students will play a games that involve AI technology and computer
applications. The students will be divided into groups of 5 student each and then one of them
will act as a machine like a chatbot. The other students will act as a user and will ask questions.
For example:
Group 1: User 1 : Hello
Chatbot user : hi, how can I help you ?
User 2 : I am looking for a flight ticket.
Chatbot user : Can You please specify the date and place?
The chatbot replies on the basis of interpretation of the keywords. (Like in line no 3 : Looking,
flight ticket are keywords)
166
Objectives
1. Students get their first taste of what problems Artificial Intelligence can solve and become
excited about learning the technology behind it.
Upload your documents to download.
2. Gain the habit of solving problems by practicing critical thinking and self-directed learning.
3. To discover more about themselves and their friends.
Learning Outcomes
OR
1. Describe application of AI in their daily lives that uses chatbot.
2. Identify the use of natural language processing
Watch Videos
Become1. ahttps://youtu.be/TL1XjHTBLKI
Scribd member for full access. Your first 30 days
2. https://youtu.be/byXa6tIgyKY
are free.
1.18 TASK CLASSIFICATION OF AI
The domain of AI is classified into Formal tasks, mundane tasks, and Expert tasks.
Continue for Free
diagnosis, Scientific
analysis and
creativity
Perception·
Computer vision OR
Mathematics Engineering
Speech, voice Geometry Fault/ Error finding
Logic Manufacturing
Integration and Monitoring
differentiation
BecomeNatural
a Scribd
Understanding
member
Language Processing for full access. Your first 30 days
Games
Go
Language Generation
Language Translation
are free.
Chess (Deep Blue)
Checkers·
Robotics·
Locomotive
Humans learn mundane (ordinary) tasks since their birth. They learn by perception, speaking,
Continue for Free
using language, and locomotives. The brain develops with age and so does the cognitive capabilities
and this is why the ordinary tasks are normally done through observation. The humans learn Formal
Tasks and Expert Tasks later, in that order.
For humans, the mundane tasks are easiest to learn. But since the machine cannot observe, so
these ordinary task are not easy for machines. Later, it was concluded that the machine requires more
knowledge, complex knowledge representation, and complicated algorithms for handling mundane
tasks. This is the reason why AI work is more successful in the Expert Tasks domain now,
as the expert task domain needs expert knowledge without observation or common sense, which
can be easier to represent and handle.
An AI system is composed of an agent and its environment. Here the agent is anything that
can perceive its environment through sensors and acts upon that environment through effectors.
For example :
A human agent has sensory organs such as eyes, ears, nose, tongue and skin parallel to
the sensors, and other organs such as hands, legs, mouth, for effectors.
A robotic agent replaces cameras and infrared range finders for the sensors, and various
The environment on the other hand can sometimes be entirely artificial that can be confined
to keyboard input, database, computer file systems and character output on a screen.
The most famous artificial environment is the Turing Test environment, in which one real
and other artificial agents are tested on same grounds.
* actuator is the actual mechanism that enables the effector to execute an action like electric motors, pneumatic
cylinders.
** effector is any device that affects the environment.
ACTIVITY –4
Title: Relate Approach: Story writing
Demonstration: Students will play a games that will relate how a machine can understand the
words we speak. The students will be asked to write the synonyms of the words given by the
teacher. The teacher will then ask the students to write a story using these synonyms.
For example:
Teacher : forest
Student1: jungle, woods, woodland
Teacher : nature
Student : environment, scenery
Objectives
1. Students will understand the logic behind the Artificial Intelligence application and will become
excited about learning the technology behind it.
2. Gain the knowledge of using vocabulary for creating AI machines.
3. To discover more about themselves and their knowledge of language usage.
Learning Outcomes
1. Describe application of AI that can help you on story writing.
2. Identify the use of English language for speaking.
Pre-requisites: Basic computer literacy Key-concepts: Interpreting Natural language processing
Watch Videos
1. https://youtu.be/Un2p5VUxPEU
2. https://youtu.be/dj3EvdOJXMc
1.19 THREATS TO AI
AI is developing at a very fast speed which at times appear more magical. Some of the researchers
and developers think that AI can grow so s
Magazines Podcasts
Sheet music
Related titles