Lec 01 Introduction
Lec 01 Introduction
Lec 01 Introduction
Introduction
ITEM WEIGHTAGE
Quizzes 15 %
Assignments 15 %
Class Participation 5%
Mid Term 20 %
Final Term 45 %
Total 100
Logistics
• Quiz may be un-announced.
• Read the book
• Plagiarism – Write your own Solution
• Deadline of the assignments will not be extended
• No Late submissions will be accepted.
Other Announcements
• Email address:
maria.nazir@ucp.edu.pk
• Office:
• A Building, 2nd Floor, Office 202
• Course Coordinator
• Dr. Mohsin.Ashraf
6
Course Topics
• Part I: Solving Problems by Searching
• Fast search / planning
• Constraint satisfaction
• Heuristics
• Adversarial and uncertain search
• Is Google Intelligent?
• Task specific intelligence(Google AI, formerly known as Google Research, is Google's artificial
intelligence (AI) research and development branch for its AI applications.)
What is Understand
Intelligence ??
Remember
Think
Reason
Problem Solving
Humans Vs Machines
Humans Machines
• Symbolic calculation • Numeric calculation
• Natural language understanding • Machine Language
• Not very precise • Precise
• Knowledge • Data
• Generalize from examples • Cannot generalize
• Deal with noisy inputs • Cannot deal with noise
What is AI?
The science of making machines that:
Curiosity (rover)
24
Acting rationally:
Rational agent
• A rational agent is one that acts so as to achieve the best outcome
or, when there is uncertainty, the best expected outcome.
• Rational behavior: doing the right thing
• The right thing: the optimal (best) thing that is expected to maximize
the chances of achieving a set of goals, in a given situation
• Making correct inferences is part of being a rational agent
• There are also ways of acting rationally that cannot be said to involve
inference -- Reflex actions.
25
Acting rationally:
Rational agent
• Advantages over other approaches
• Conclusion:
• Behave in right manner
• Give max. Performance 26
This course is about designing
rational/intelligent agents
Environment
Sensors
problem types Percepts
Agent
• Learning to recognize when and how a new ?
problem can be solved with an existing
technique Actuators
Actions
Rational Decisions
• We’ll use the term rational in a very specific, technical way:
• Rational: maximally achieving pre-defined goals
• Rationality only concerns what decisions are made (not the thought
process behind them)
• Goals are expressed in terms of the utility of outcomes
• Being rational means maximizing your expected utility
Approaches to AI
• Strong AI
• Strong AI aims to build machines that can truly reason and solve problems who is self
aware and whose overall intellectual ability is indistinguishable from that of a human
being.
• Human-Like
• Non-human Like
• Weak AI
• Weak artificial intelligence (weak AI), also known as narrow AI, is artificial intelligence
that is focused on one narrow task.
• Deals with the creation of some form of computer-based artificial intelligence that
cannot truly reason and solve problems, but can act as if it were intelligent.
• Siri is a good example of narrow intelligence.
Weak and Strong AI
• Weak AI is AI that can not 'think', i.e. a computer chess playing AI
does not think about its next move, it is based on the programming it
was given, and its moves depend on the moves of the human
opponent.
• Strong AI is the idea/concept that we will one day create AI
that can 'think' i.e. be able to play a chess game that is not based on
the moves of the human opponent or programming, but based on the
AI's own 'thoughts' and feelings and such, which are all supposed to
be exactly like a real humans thoughts and emotions and stuff.
Stages of AI
• Artificial Narrow Intelligence (ANI)
(Specific Task)
(Siri, Alexa, Self Driving Car)
• Web search
• Text classification, spam filtering, etc…
Vision (Perception)
• Object and face recognition
• Scene segmentation
• Image classification
Robotics
• Robotics
• Technologies
• Vehicles
• Rescue
• Soccer!
• Lots of
automation…
Decision Making
• Applied AI involves many kinds of automation
• Scheduling, e.g. airline routing, military
• Route planning, e.g. Google maps
• Medical diagnosis
• Web search engines
• Spam classifiers
• Automated help desks
• Fraud detection
• Product recommendations
• … Lots more!
AI Topics: A Quick Introductory
Overview
Classic AI search problems: Map searching (navigation)
41
AI Topics: A Quick Introductory
Overview
• Classic AI search problems
• 3*3*3 Rubik’s Cube
Classical AI Search Problems
• 8-Puzzle
1 4 2 1 2 3
6 5 8 4 5 6
7 3 7 8
Classical AI Search Problems
Classical AI Search Problem
• Pac-Man