Professional Documents
Culture Documents
Intelligent System 1
Intelligent System 1
6 th Semester
•Hence, AI is about the science and engineering necessary to create artifacts that can
•Acquire knowledge i.e. can learn and extract knowledge
•Reason with knowledge i.e. planning, explaining diagnosing etc.
• Artificial Intelligence is the part of computer science concerned with designing intelligence computer
systems, that is, systems that exhibit the characteristics that associate with intelligence in human
behavior
•The art of creating machine that perform functions that require intelligence when
performed by people.
-Kurzwell, 1990
•AI is the study of how to make computers do things which at the moment , people do
better.
-E.Richand K.Knight.
• Artificial Intelligence is the part of computer science concerned with designing
intelligence computer systems, that is, systems that exhibit the characteristics that
associate with intelligence in human behavior
-Barr and Feigenbaum
• Acting rationally
• Rational behavior means doing the right thing. The right thing is that which is expected to maximize
goal achievement
• given the available information. Rational Agent is one that acts so as to achieve the best outcome
•Make the machines with mind. Cognition means the action or process of acquiring
knowledge and understanding through thought, experience and senses.
•Rational behavior means doing the right thing. The right thing is that which is expected to maximize
goal achievement.
•Acting rationally means acting so as to achieve one's goals, given one's beliefs. An agent is just
something that perceives and acts.
•given the available information. Rational Agent is one that acts so as to achieve the best outcome.
•An intelligent agent is one that acts rationally with respect to its goals. For example, an agent that is
designed to play a game should make moves that increase its chances of winning the game.
•Formal logic provides a precise notation for statements about things and their
relationships.
•Given sufficient memory and time, early computer programs were able to solve
problems formulated in logical form, using automated reasoning and theorem proving
techniques.
1. today is Saturday
2. Saturday is holiday
Then we can conclude
Today is holiday.
Efficiency and Automation: AI can automate tasks that are repetitive, tedious, or dangerous for humans. This
can free up human workers to focus on more creative and strategic tasks.
Accuracy and Precision: AI can analyze vast amounts of data and identify patterns that humans might miss. This
can lead to more accurate predictions and better decision-making.
Innovation and Discovery: AI can be used to explore new ideas and possibilities. For example, AI can be used to
design new drugs, materials, and products.
Improved Quality of Life: AI has the potential to improve our quality of life in many ways, such as by providing
better healthcare, education, and transportation.
However, it's important to consider the ethical implications of AI as well, such as bias in algorithms and the
potential for job displacement.
Machine learning: Machine Learning is the technique that gives computers the potential to learn without being programmed,
it is actively being used in daily life, machine learning application in daily life, even without knowing that. Fundamentally, it is
the science that enables machines to translate, execute and investigate data for solving real-world problems.
Neural Network
• The Neural Network is a field of artificial intelligence that makes use of Neurology ( a part of biology that concerns
the nerve and nervous system of the human brain). It incorporates cognitive science into machines to execute tasks.
The neural network mimics the human brain, which has an infinite number of neurons, and the neural network’s purpose
is to code brain-neurons into a system or computer.
• neural network is a set of algorithms that are used to identify elemental correlations among large amounts of data. In a
neural network,a neuron is a mathematical function (such as activation functions) whose job it is to gather and categories
data according to a certain structure. To perform tasks, the network heavily relies on statistical techniques such
as regression analysis.
• Neural Networks are widely used for fraud dete ction, risk analysis, stock-exchange prediction, sales prediction, and
many other purposes.
Natural Language Processing
NLP is a branch of computer science and artificial intelligence that allows computers and humans to communicate
using natural language. It’s a method of computational analysis of human languages. By mimicking human natural language,
it allows a machine to comprehend and interpret data.
Compiled By: Er. Santosh Pandeya 13
Deep Learning
• It is a process of learning in which the machine processes and analyses the input data using a number of ways until it
identifies a single acceptable output. It’s also referred to as self-learning of machines. To map the raw sequence of input
data to output, the machine uses a variety of random programs and algorithms.
• Deep learning would observe all possible human traits and behaviour databases, and it will undergo supervised
learning. This procedure includes:
Detection of various human emotions and expressions.
Identify humans and animals based on pictures, such as specific signs, markings, or traits.
Recognize and memorise the voice of various speakers.
Video and audio data conversion into text data.
Identification of right and wrong gestures, classification of spam, and fraud activities (like fraud claims).
Cognitive Computing
• The objective of Cognitive Computing is to initiate and enhance human-machine interaction to accomplish complex
tasks and help in problem-solving.
• While working with humans on a variety of jobs, machines learn and comprehend human behaviour and feelings in a
variety of situations, and then recreate the human thought process in a computer model.
Computer Vision
• Computer vision is an important component of artificial intelligence because it enables the computer to identify, analyse,
and interpret visual input from real-world pictures and visuals by capturing and intercepting it.
• It uses deep learning and pattern recognition to extract visual information from any data, including images or video files
within PDF documents, Word documents, PowerPoint presentations, XL files, graphs, and photographs, among other
formats. Compiled By: Er. Santosh Pandeya 14
Application of AI
• Artificial Intelligence has various applications in today's society.
• It is becoming essential for today's time because it can solve complex problems with an efficient way in multiple
industries, such as Healthcare, entertainment, finance, education, etc.
• AI is making our daily life more comfortable and fast.
Following are some sectors which have the application of Artificial Intelligence:
The Conceptual Foundations: This refers to the historical ideas and philosophical underpinnings that led to
the development of AI as a field of study. It includes:
Early Thoughts: Since ancient times, humans have been fascinated by the idea of creating intelligent
machines. Myths and stories about artificial beings with human-like intelligence can be found in many
cultures.
Formalization of AI: The formal study of AI is generally considered to have begun in the 1950s. Alan Turing, a
pioneer in computer science, proposed the Turing Test as a way to determine if a machine could exhibit
intelligent behavior equivalent to a human. In 1956, John McCarthy and other researchers held a workshop
at Dartmouth College that is considered the founding event of AI as a field.
The Technical Foundations: This refers to the core technologies that make AI systems possible. These
include:
Machine Learning: This allows AI systems to learn from data without being explicitly programmed.
Natural Language Processing: This enables AI systems to understand and manipulate human language.
Computer Vision: This allows AI systems to interpret and analyze visual information.
Robotics: This field deals with the design, construction, operation, and application of robots.
Compiled By: Er. Santosh Pandeya 18
History of AI
The history of artificial intelligence (AI) spans several decades and is characterized by significant milestones,
breakthroughs, and challenges. Here's a brief overview:
Knowledge can be defined as the body of facts and principles accumulated by human kind or the act,
fact or state of knowing.
Knowledge is "the sum of what is known: the body of truth, information, and principles acquired by
mankind." Or, "Knowledge is what I know, Information is what we know."
Knowledge is "information combined with experience, context, interpretation, and reflection. It is a
high-value form of information that is ready to apply to decisions and actions." (T. Davenport et al.,
1998)
It is having a familiarity with language, concepts, procedures, roles ideas, abstraction, places, facts and
associations with an ability to use these notions effectively in modeling different aspects of the world.
Without this ability, the facts and concepts are meaningless and therefore worthless. ' Knowledge
may be declarative or procedural.
Procedural
It is also known as imperative knowledge.
Procedural knowledge is a type of knowledge which is responsible for knowing how to do something.
It can be directly applied to any task.
It includes rules, strategies, procedures, agendas, etc.
Procedural knowledge depends on the task on which it can be applied.
Compiled By: Er. Santosh Pandeya 23
Types of Knowledge
Declarative
Declarative knowledge is to know about something.
It includes concepts, facts, and objects.
It is also called descriptive knowledge and expressed in declarativesentences.
It is simpler than procedural language.
Personal data in database is typical declarative knowledge.
Meta-knowledge:
Knowledge about the other types of knowledge is called Meta-knowledge.
Structural knowledge:
Structural knowledge is basic knowledge to problem-solving.
It describes relationships between various concepts such as kind of, part of, and grouping of something.
It describes the relationship that exists between concepts or objects.
Let's suppose if you met some person who is speaking in a language which you don't know, then how you will able to act
on that. The same thing applies to the intelligent behavior of the agents.
As we can see in below diagram, there is one decision maker which act by sensing the environment and using knowledge.
But if the knowledge part will not present then, it cannot display intelligent behavior.
KR is the theory and practice of representing knowledge (facts about the world) into computer systems (or agents) and
this representation needs to be in the form such that the agents can store, manipulate and develop new knowledge
(inference) from the existing.
A subarea of Artificial Intelligence concerned with understanding, designing, and implementing ways of representing
information in computers so that programs (agents) can use this information
to derive information that is implied by it,
to converse with people in natural languages,
to decide what to do next
to plan future activities,
to solve problems in areas that normally require human expertise.
An agent can be anything that perceiveits environment through sensors and act upon that environment
through actuators. An Agent runs in the cycle of perceiving, thinking, and acting.
An agent can be:
Human-Agent: A human agent has eyes, ears, and other organs which work for sensors and hand, legs, vocal
tract work for actuators.
Robotic Agent: A robotic agent can have cameras, infrared range finder, NLP for sensors and various motors
for actuators.
Software Agent: Software agent can have keystrokes, file contents as sensory input and act on those inputs
and display output on the screen.
Hence the world around us is full of agents such as thermostat, cellphone, camera, and even we are also
agents.
Sensor: Sensor is a device which detects the change in the environment and sends the information to other
electronic devices. An agent observes its environment through sensors.
Actuators: Actuators are the component of machines that converts energy into motion. The actuators are only
responsible for moving and controlling a system. An actuator can be an electric motor, gears, rails, etc.
Effectors: Effectors are the devices which affect the environment. Effectors can be legs, wheels, arms, fingers,
wings, fins, and display screen.
Compiled By: Er. Santosh Pandeya 31
Learning/machine learning:
•Machine learning is an application of artificial intelligence (AI) that focused on building applications that
learn from data and improve their accuracy over time without being programmed. These application can
access data and use it to learn for themselves
•"Changes in the system that are adaptive in the sense that they enable the system to do the same task or
tasks drawn from the same population more efficiently the next time.“
•From a conceptual standpoint, learning is a process that improves the knowledge of an AI program by making
observations about its environment.
2 -Data Preparation
•Wrangle data and prepare it for training
•Clean that which may require it (remove duplicates, correct errors, deal with missing
values, normalization, data type conversions, etc.)
•Randomize data, which erases the effects of the particular order in which we collected
and/or otherwise prepared our data
•Visualize data to help detect relevant relationships between variables or class
imbalances (bias alert!), or perform other exploratory analysis
•Split into training and evaluation sets
7 -Make Predictions
•Using further (test set) data which have, until this point, been withheld from the model
(and for which class labels are known), are used to test the model; a better
approximation of how the model will perform in the real world
•Feedback-Based Classification
•Unsupervised Learning
•Supervised Learning
• Semi-supervised Learning
•Reinforcement Learning
Unsupervised learning:
•The computer is trained with unlabeled data.
•Here there’s no teacher at all, actually the computer might be able to teach you new things after it
learns patterns in data, these algorithms a particularly useful in cases where the human expert
doesn’t know what to look for in the data.
•are the family of machine learning algorithms which are mainly used inpattern detection and
descriptive modeling.
•These algorithms try to use techniques on the input data tomine for rules,detect patterns, and
summarize and group the data pointswhich help in deriving meaningful insights and describe the
data better to the users. Compiled By: Er. Santosh Pandeya 40
Semi-supervised learning
•In the previous two types, either there are no labels for all the observation in the dataset or labels
are present for all the observations. Semi-supervised learning falls in between these two
•These methods exploit the idea that even though the group memberships of the unlabeled data
are unknown, this data carries important information about the group parameters.
•Semi-supervised learning is supervised learning where the training data contains very few labeled
examples and a large number of unlabeled examples.
Reinforcement learning
•This method aims at using observations gathered from the interaction with the environment to
take actions that would maximize the reward or minimize the risk.
•Reinforcement learning algorithm (called the agent) continuously learns from the environment in
an iterative fashion. In the process, the agent learns from its experiences of the environment until it
explores the full range of possible states.
•It allows machines and software agents to automatically determine the ideal behavior within a
specific context, in order to maximize its performance.
•Simple reward feedback is required for the agent to learn its behavior; this is known as the
reinforcement signal.
Compiled By: Er. Santosh Pandeya 41
Assignment-1
1. Discuss the difference between Machine Learning, Semi-Supervised and Deep Learning with examples.
2. Define AI. What is the difference between “ Strong AI” and “Weak AI”? What are some Misconceptions
about AI? Make clear with explanation.
3. Explain about automated reasoning in AI.