SlideShare a Scribd company logo
1 of 34
Artificial Intelligence
Imran Yar
BSC,MCS
Lecturer of CS
Jahan University Kabul Afghanistan
CS Department Jahan University Kabul Afghanistan.
Course Description
• Introduction to Artificial Intelligence (AI) history and applications;
• Strong AI and weak AI
• Knowledge representation;
• Problem solving in artificial intelligence using knowledge representation,
searching and reasoning;
• Uninformed and heuristic search;
• Machine learning;
• Laws of Robotics;
CS Department Jahan University Kabul Afghanistan.
Learning Outcomes
• Understand the meaning of AI, its alternative approaches and the implications of AI for cognitive
science more broadly.
• Expand knowledge about Inform and uniform search heuristic search, genetic algorithm, planning, and
learning algorithms.
• Understand the basic methods in planning and reasoning using both logic and uncertain inference.
• Know a variety of ways to represent and retrieve knowledge and information [Expert systems, Agents].
• Know the fundamentals of AI programming techniques and advanced machine learning in a modern
programming language.
CS Department Jahan University Kabul Afghanistan.
Required Material
• Text Book:
• Artificial Intelligence: A Modern Approach, Stuart Russell and Peter Norvig,
Prentice Hall.
• Reference Books:
• Artificial Intelligence: Structures and Strategies for Complex Problem Solving,
George F. Luger, Addison Wesley Publisher.
CS Department Jahan University Kabul Afghanistan.
Today’s Lecture
• What is intelligence?
• What is artificial intelligence?
• Modern successes
• Sentience AI
CS Department Jahan University Kabul Afghanistan.
Let’s begin
• Introduction Artificial Intelligence?
• AI is one of the newest disciplines
• Formally initiated in 1956
• The study of intelligence is also one of the oldest discipline.
• For over 2,000 years philosophers have tried to understand how
• Seeing
• Learning
• Remembering
• And reasoning could or should be done?????
CS Department Jahan University Kabul Afghanistan.
What is Intelligence ?
“ability to learn, understand and think”
(Oxford dictionary)
CS Department Jahan University Kabul Afghanistan.
What is Intelligence???
• Intelligence is the ability to learn about, to learn from, to understand
about, and interact with one’s environment.
• Intelligence is the faculty of understanding
• Intelligence is not to make no mistakes but quickly to understand how
to make them good
(German Poet)
CS Department Jahan University Kabul Afghanistan.
What is Intelligence???
• Capacity to learn from experience
• Ability to adapt to different contexts
• The use of analyses ability to enhance learning
CS Department Jahan University Kabul Afghanistan.
Intelligence quotient
IQ
• An intelligence quotient, or IQ, is a score derived from one of
several standardized tests designed to assess intelligence.
CS Department Jahan University Kabul Afghanistan.
CS Department Jahan University Kabul Afghanistan.
What is artificial intelligence?
• There is noagreed definition of the term artificial
intelligence. However, there are various definitions that
have been proposed. Some will be considered below.
CS Department Jahan University Kabul Afghanistan.
American
Association for
Artificial
Intelligence
The scientific understanding of the mechanisms
underlying thought and intelligent behavior and
their embodiment in machines.
What is artificial intelligence?
CS Department Jahan University Kabul Afghanistan.
What is artificial intelligence?
• It is the science and engineering of making intelligent machines,
especially intelligent computer programs.
• It is related to the similar task of using computers to understand
human intelligence, but AI does not have to confine itself to methods
that are biologically observable. (John McCarthy )
CS Department Jahan University Kabul Afghanistan.
What is artificial intelligence? (ctd.)
 AI is a study in which computer systems are made that think like human beings.
Haugeland, 1985 & Bellman, 1978.
 AI is a study in which computer systems are made that act like people. AI is
the art of creating computers that perform functions that require intelligence
when performed by people. Kurzweil, 1990.
 AI is a study in which computers that rationally think are made. Charniac &
McDermott, 1985.
 AI is the study of computations that make it possible to perceive, reason and
act. Winston, 1992.
 AI is the study in which systems that rationally act are made. AI is considered
to be a study that seeks to explain and emulate intelligent behaviour in terms
of computational processes. Schalkeoff, 1990.
 AI is considered to be a branch of computer science that is concerned with
the automation of intelligent behavior. Luger & Stubblefield, 1993.
CS Department Jahan University Kabul Afghanistan.
What’s involved in Intelligence?
• Ability to interact with the real world
• to perceive, understand, and act
• e.g., speech recognition and understanding and synthesis
• e.g., image understanding
• e.g., ability to take actions, have an effect
• Reasoning and Planning
• modeling the external world, given input
• solving new problems, planning, and making decisions
• ability to deal with unexpected problems, uncertainties
• Learning and Adaptation
• we are continuously learning and adapting
• our internal models are always being “updated”
• e.g., a baby learning to categorize and recognize animals
CS Department Jahan University Kabul Afghanistan.
Academic Disciplines relevant to AI
• Philosophy Logic, methods of reasoning, mind as physical
system, foundations of learning, language,
rationality.
• Mathematics Formal representation and proof, algorithms,
computation, (un)decidability, (in)tractability
• Probability/Statistics modeling uncertainty, learning from data
• Economics utility, decision theory, rational economic agents
• Neuroscience neurons as information processing units.
• Psychology/ how do people behave, perceive, process cognitive
Cognitive Science information, represent knowledge.
• Computer building fast computers
engineering
• Linguistics knowledge representation, grammars
CS Department Jahan University Kabul Afghanistan.
HAL: from the movie 2001
• 2001: A Space Odyssey
• classic science literature movie from 1969
• HAL
• part of the story centers around an intelligent
computer called HAL
• HAL is the “brains” of an intelligent spaceship
• in the movie, HAL can
• speak easily with the team
• see and understand the emotions of the team
• navigate the ship automatically
• diagnose on-board problems
• make life-and-death decisions
• display emotions
• In 1969 this was science literature: is it still science
literature?
Hal and AI
• HAL’s Legacy: 2001’s Computer as Dream and Reality
• MIT Press, 1997, David Stork (ed.)
• discusses
• HAL as an intelligent computer
• are the predictions for HAL realizable with AI today?
• Materials online at
• http://mitpress.mit.edu/e-books/Hal/contents.html
• The website contains
• full text and abstracts of chapters from the book
• links to related material and AI information
• sound and images from the film
CS Department Jahan University Kabul Afghanistan.
Consider what might be involved in
building a computer like Hal….
• What are the components that might be useful?
• Fast hardware?
• Chess-playing at grandmaster level?
• Speech interaction?
• speech synthesis (text to phonic)
• speech recognition
• speech understanding
• Image recognition and understanding ?
• Learning?
• Planning and decision-making?
CS Department Jahan University Kabul Afghanistan.
Can we build hardware as complex as the brain?
• How complicated is our brain?
• a neuron, or nerve cell, is the basic information processing unit
• estimated to be on the order of 10 12 neurons in a human brain
• many more synapses (10 14) connecting these neurons
• cycle time: 10 -3 seconds (1 millisecond)
• How complex can we make computers?
• 108 or more transistors per CPU
• supercomputer: hundreds of CPUs, 1012 bits of RAM
• cycle times: order of 10 - 9 seconds
• Conclusion
• YES: in the near future we can have computers with as many basic
processing elements as our brain, but with
• far fewer interconnections (wires or synapses) than the brain
• much faster updates than the brain
• but building hardware is very different from making a computer
behave like a brain!
CS Department Jahan University Kabul Afghanistan.
Can Computers beat Humans at Chess?
• Chess Playing is a classic AI problem
• well-defined problem
• very complex: difficult for humans to play well
• Conclusion:
• YES: today’s computers can beat even the best human
1200
1400
1600
1800
2000
2200
2400
2600
2800
3000
1966 1971 1976 1981 1986 1991 1997
Ratings
Human World Champion
Deep Blue
Deep Thought
PointsRatings
CS Department Jahan University Kabul Afghanistan.
Can Computers Talk?
• This is known as “speech synthesis”
• translate text to phonetic form
• e.g., “fictitious” -> fik-tish-es
• use pronunciation rules to map phonemes to actual sound
• e.g., “tish” -> sequence of basic audio sounds
• Difficulties
• sounds made by this “lookup” approach sound unnatural
• sounds are not independent
• e.g., “act” and “action
• a harder problem is emphasis, emotion, etc
• humans understand what they are saying
• machines don’t: so they sound unnatural
• Conclusion:
• NO, for complete sentences
• YES, for individual words
CS Department Jahan University Kabul Afghanistan.
Can Computers Recognize Speech?
• Speech Recognition:
• mapping sounds from a microphone into a list of words
• classic problem in AI, very difficult
• Recognizing single words from a small vocabulary
• systems can do this with high accuracy (order of 99%)
• e.g., directory inquiries
• limited vocabulary (area codes, city names)
• computer tries to recognize you first, if unsuccessful hands you over to a human operator
• saves millions of dollars a year for the phone companies
CS Department Jahan University Kabul Afghanistan.
Recognizing human speech (ctd.)
• Recognizing normal speech is much more difficult
• speech is continuous: where are the boundaries between words?
• large vocabularies
• can be many thousands of possible words
• we can use context to help figure out what someone said
• background noise, other speakers, accents etc
• on normal speech, modern systems are only about 60-70% accurate
• Conclusion:
• NO, normal speech is too complex to accurately recognize
• YES, for restricted problems (small vocabulary, single speaker)
CS Department Jahan University Kabul Afghanistan.
Can Computers Understand speech?
• Understanding is different to recognition:
• “Time flies like an arrow”
• Assume the computer can recognize all the words
• How many different interpretations are there?
• 1. Time passes quickly like an arrow?
• 2. Command: time the flies the way an arrow times the flies
• 3. Command: only time those flies which are like an arrow
• 4. “time-flies” are fond of arrows
• only 1. makes any sense,
• but how could a computer figure this out?
• clearly humans use a lot of implicit (unspoken) commonsense knowledge in communication
• Conclusion: NO, much of what we say is beyond the capabilities of a
computer to understand at present
CS Department Jahan University Kabul Afghanistan.
Can Computers Learn and Adapt ?
• Learning and Adaptation
• consider a computer learning to drive on the freeway
• we could teach it lots of rules about what to do
• systems like this are under development (e.g., Daimler Benz)
• machine learning allows computers to learn to do
things without pure programming
• Conclusion: YES, computers can learn and adapt,
when presented with information in the
appropriate way
CS Department Jahan University Kabul Afghanistan.
• Recognition v. Understanding (like Speech)
• Recognition and Understanding of Objects in a scene
• look around this room
• you can naturally recognize objects
• human brain can map 2d visual image to 3d “map”
• Why is visual recognition a hard problem?
• Conclusion:
• mostly NO: computers can only “see” certain types of objects
under limited circumstances
• YES for certain constrained problems (e.g., face recognition)
Can Computers “see”?
CS Department Jahan University Kabul Afghanistan.
Can computers plan and make optimal decisions?
• Intelligence
• involves solving problems and making decisions and plans
• e.g., you want to take a holiday in Brazil
• you need to decide on flights
• you need to get to the airport, etc
• involves a sequence of decisions, plans, and actions
• What makes planning hard?
• the world is not predictable:
• your flight is canceled .
• there are a potentially huge number of details
• do you consider all flights? all dates?
• no: commonsense constrains your solutions
• AI systems are only successful in constrained planning problems
• Conclusion: NO, real-world planning and decision-making is still beyond
the capabilities of modern computers
• exception: very well-defined, constrained problems
CS Department Jahan University Kabul Afghanistan.
Summary of State of AI Systems in Practice
• Speech synthesis, recognition and understanding
• very useful for limited vocabulary applications
• unconstrained speech understanding is still too hard
• Computer vision
• works for constrained problems (hand-written zip-codes)
• understanding real-world, natural scenes is still too hard
• Learning
• adaptive systems are used in many applications: have their limits
• Planning and Reasoning
• only works for constrained problems: e.g., chess
• real-world is too complex for general systems
• Overall:
• many components of intelligent systems are “achievable”
• there are many interesting research problems remaining
CS Department Jahan University Kabul Afghanistan.
Intelligent Systems in Your Everyday Life
• Post Office
• automatic address recognition and sorting of mail
• Banks
• automatic check readers, signature verification systems
• automated loan application classification
• Customer Service
• automatic voice recognition
• The Web
• Identifying your age, gender, location, from your Web surfing
• Automated fraud detection
• Digital Cameras
• Automated face detection and focusing
• Computer Games
CS Department Jahan University Kabul Afghanistan.
AI Applications: Machine Translation
• Language problems in international business
• e.g., at a meeting of Japanese, Korean, Vietnamese and Swedish investors,
no common language
• solution; hire translators to translate
• would be much cheaper if a machine could do this
• How hard is automated translation
• very difficult! e.g., English to Russian
• “The spirit is willing but the flesh is weak” (English)
• “the vodka is good but the meat is rotten” (Russian)
• not only must the words be translated, but their meaning also!
• is this problem “AI-complete”?
• However....
• commercial systems can do a lot of the work very well (e.g., restricted
vocabularies in software documentation)
• algorithms which combine dictionaries, grammar models, etc.
CS Department Jahan University Kabul Afghanistan.
AI and Web Search
CS Department Jahan University Kabul Afghanistan.
Summary of Today’s Lecture
• Artificial Intelligence involves the study of:
• automated recognition and understanding of signals
• reasoning, planning, and decision-making
• learning and adaptation
• AI has made substantial progress in
• recognition and learning
• some planning and reasoning problems
• …but many open research problems
• AI Applications
• improvements in hardware and algorithms => AI applications in industry,
finance, medicine, and science.
CS Department Jahan University Kabul Afghanistan.

More Related Content

What's hot

Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 DigiGurukul
 
Artificial general intelligence research project at Keen Software House (3/2015)
Artificial general intelligence research project at Keen Software House (3/2015)Artificial general intelligence research project at Keen Software House (3/2015)
Artificial general intelligence research project at Keen Software House (3/2015)Marek Rosa
 
Human and Artificial Intelligence
Human and Artificial IntelligenceHuman and Artificial Intelligence
Human and Artificial Intelligenceorengomoises
 
Marek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and MethodologyMarek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and MethodologyMachine Learning Prague
 
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
Unit I Introduction to AI K.Sundar,AP/CSE,VECUnit I Introduction to AI K.Sundar,AP/CSE,VEC
Unit I Introduction to AI K.Sundar,AP/CSE,VECsundarKanagaraj1
 
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014lebsoftshore
 
Cognitive Science and AI
Cognitive Science and AICognitive Science and AI
Cognitive Science and AISaboor Ahmed
 
Simplified Introduction to AI
Simplified Introduction to AISimplified Introduction to AI
Simplified Introduction to AIDeepu S Nath
 
Artificial Intelligent introduction or history
Artificial Intelligent introduction or historyArtificial Intelligent introduction or history
Artificial Intelligent introduction or historyArslan Sattar
 
Lec 0 about the course
Lec 0 about the courseLec 0 about the course
Lec 0 about the courseEyob Sisay
 
Artificial intelligent
Artificial intelligentArtificial intelligent
Artificial intelligentFamida Sk
 

What's hot (19)

AI Introduction
AI Introduction AI Introduction
AI Introduction
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
 
Artificial general intelligence research project at Keen Software House (3/2015)
Artificial general intelligence research project at Keen Software House (3/2015)Artificial general intelligence research project at Keen Software House (3/2015)
Artificial general intelligence research project at Keen Software House (3/2015)
 
Human and Artificial Intelligence
Human and Artificial IntelligenceHuman and Artificial Intelligence
Human and Artificial Intelligence
 
Ai lecture 1
Ai  lecture 1Ai  lecture 1
Ai lecture 1
 
Unit 2 ai
Unit 2 aiUnit 2 ai
Unit 2 ai
 
Lecture 1 introduction
Lecture 1   introductionLecture 1   introduction
Lecture 1 introduction
 
Marek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and MethodologyMarek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
 
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
Unit I Introduction to AI K.Sundar,AP/CSE,VECUnit I Introduction to AI K.Sundar,AP/CSE,VEC
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
 
Lecture01. introduction
Lecture01. introductionLecture01. introduction
Lecture01. introduction
 
Ai chapter1
Ai chapter1Ai chapter1
Ai chapter1
 
Ai introduction
Ai introductionAi introduction
Ai introduction
 
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
 
Ai introduction
Ai introductionAi introduction
Ai introduction
 
Cognitive Science and AI
Cognitive Science and AICognitive Science and AI
Cognitive Science and AI
 
Simplified Introduction to AI
Simplified Introduction to AISimplified Introduction to AI
Simplified Introduction to AI
 
Artificial Intelligent introduction or history
Artificial Intelligent introduction or historyArtificial Intelligent introduction or history
Artificial Intelligent introduction or history
 
Lec 0 about the course
Lec 0 about the courseLec 0 about the course
Lec 0 about the course
 
Artificial intelligent
Artificial intelligentArtificial intelligent
Artificial intelligent
 

Similar to A.i lecture-01

Artificial intelligence(01)
Artificial intelligence(01)Artificial intelligence(01)
Artificial intelligence(01)Nazir Ahmed
 
AI Lecture-01 (Introduction) NN and Fuzzy
AI Lecture-01 (Introduction) NN and FuzzyAI Lecture-01 (Introduction) NN and Fuzzy
AI Lecture-01 (Introduction) NN and FuzzySirRafiLectures
 
Artificial intelligence(introduction)
Artificial intelligence(introduction)Artificial intelligence(introduction)
Artificial intelligence(introduction)syed rafi
 
Introduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdfIntroduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdfssuser8324dd
 
Deep learning introduction
Deep learning introductionDeep learning introduction
Deep learning introductionAdwait Bhave
 
Artificail Intelligent lec-1
Artificail Intelligent lec-1Artificail Intelligent lec-1
Artificail Intelligent lec-1tjunicornfx
 
Machine Learning, AI and the Brain
Machine Learning, AI and the Brain Machine Learning, AI and the Brain
Machine Learning, AI and the Brain TechExeter
 
Artificial intelligence intro cp 1
Artificial intelligence  intro  cp  1Artificial intelligence  intro  cp  1
Artificial intelligence intro cp 1M S Prasad
 
Artificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarArtificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarGarry D. Lasaga
 

Similar to A.i lecture-01 (20)

Artificial intelligence(01)
Artificial intelligence(01)Artificial intelligence(01)
Artificial intelligence(01)
 
AI Lecture-01 (Introduction) NN and Fuzzy
AI Lecture-01 (Introduction) NN and FuzzyAI Lecture-01 (Introduction) NN and Fuzzy
AI Lecture-01 (Introduction) NN and Fuzzy
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
Artificial intelligence(introduction)
Artificial intelligence(introduction)Artificial intelligence(introduction)
Artificial intelligence(introduction)
 
n01.ppt
n01.pptn01.ppt
n01.ppt
 
Introduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdfIntroduction-To-AI(L-1).pdf
Introduction-To-AI(L-1).pdf
 
l1.pptx
l1.pptxl1.pptx
l1.pptx
 
Final slide (bsc csit) chapter 1
Final slide (bsc csit) chapter 1Final slide (bsc csit) chapter 1
Final slide (bsc csit) chapter 1
 
Deep learning introduction
Deep learning introductionDeep learning introduction
Deep learning introduction
 
Cognitive Science.ppt
Cognitive Science.pptCognitive Science.ppt
Cognitive Science.ppt
 
M1 intro
M1 introM1 intro
M1 intro
 
Artificail Intelligent lec-1
Artificail Intelligent lec-1Artificail Intelligent lec-1
Artificail Intelligent lec-1
 
Machine Learning, AI and the Brain
Machine Learning, AI and the Brain Machine Learning, AI and the Brain
Machine Learning, AI and the Brain
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
chatcptkk.ppt
chatcptkk.pptchatcptkk.ppt
chatcptkk.ppt
 
Artificial intelligence intro cp 1
Artificial intelligence  intro  cp  1Artificial intelligence  intro  cp  1
Artificial intelligence intro cp 1
 
Lec-1.pdf
Lec-1.pdfLec-1.pdf
Lec-1.pdf
 
Artificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarArtificial Intelligence by B. Ravikumar
Artificial Intelligence by B. Ravikumar
 

Recently uploaded

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Recently uploaded (20)

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

A.i lecture-01

  • 1. Artificial Intelligence Imran Yar BSC,MCS Lecturer of CS Jahan University Kabul Afghanistan CS Department Jahan University Kabul Afghanistan.
  • 2. Course Description • Introduction to Artificial Intelligence (AI) history and applications; • Strong AI and weak AI • Knowledge representation; • Problem solving in artificial intelligence using knowledge representation, searching and reasoning; • Uninformed and heuristic search; • Machine learning; • Laws of Robotics; CS Department Jahan University Kabul Afghanistan.
  • 3. Learning Outcomes • Understand the meaning of AI, its alternative approaches and the implications of AI for cognitive science more broadly. • Expand knowledge about Inform and uniform search heuristic search, genetic algorithm, planning, and learning algorithms. • Understand the basic methods in planning and reasoning using both logic and uncertain inference. • Know a variety of ways to represent and retrieve knowledge and information [Expert systems, Agents]. • Know the fundamentals of AI programming techniques and advanced machine learning in a modern programming language. CS Department Jahan University Kabul Afghanistan.
  • 4. Required Material • Text Book: • Artificial Intelligence: A Modern Approach, Stuart Russell and Peter Norvig, Prentice Hall. • Reference Books: • Artificial Intelligence: Structures and Strategies for Complex Problem Solving, George F. Luger, Addison Wesley Publisher. CS Department Jahan University Kabul Afghanistan.
  • 5. Today’s Lecture • What is intelligence? • What is artificial intelligence? • Modern successes • Sentience AI CS Department Jahan University Kabul Afghanistan.
  • 6. Let’s begin • Introduction Artificial Intelligence? • AI is one of the newest disciplines • Formally initiated in 1956 • The study of intelligence is also one of the oldest discipline. • For over 2,000 years philosophers have tried to understand how • Seeing • Learning • Remembering • And reasoning could or should be done????? CS Department Jahan University Kabul Afghanistan.
  • 7. What is Intelligence ? “ability to learn, understand and think” (Oxford dictionary) CS Department Jahan University Kabul Afghanistan.
  • 8. What is Intelligence??? • Intelligence is the ability to learn about, to learn from, to understand about, and interact with one’s environment. • Intelligence is the faculty of understanding • Intelligence is not to make no mistakes but quickly to understand how to make them good (German Poet) CS Department Jahan University Kabul Afghanistan.
  • 9. What is Intelligence??? • Capacity to learn from experience • Ability to adapt to different contexts • The use of analyses ability to enhance learning CS Department Jahan University Kabul Afghanistan.
  • 10. Intelligence quotient IQ • An intelligence quotient, or IQ, is a score derived from one of several standardized tests designed to assess intelligence. CS Department Jahan University Kabul Afghanistan.
  • 11. CS Department Jahan University Kabul Afghanistan.
  • 12. What is artificial intelligence? • There is noagreed definition of the term artificial intelligence. However, there are various definitions that have been proposed. Some will be considered below. CS Department Jahan University Kabul Afghanistan.
  • 13. American Association for Artificial Intelligence The scientific understanding of the mechanisms underlying thought and intelligent behavior and their embodiment in machines. What is artificial intelligence? CS Department Jahan University Kabul Afghanistan.
  • 14. What is artificial intelligence? • It is the science and engineering of making intelligent machines, especially intelligent computer programs. • It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable. (John McCarthy ) CS Department Jahan University Kabul Afghanistan.
  • 15. What is artificial intelligence? (ctd.)  AI is a study in which computer systems are made that think like human beings. Haugeland, 1985 & Bellman, 1978.  AI is a study in which computer systems are made that act like people. AI is the art of creating computers that perform functions that require intelligence when performed by people. Kurzweil, 1990.  AI is a study in which computers that rationally think are made. Charniac & McDermott, 1985.  AI is the study of computations that make it possible to perceive, reason and act. Winston, 1992.  AI is the study in which systems that rationally act are made. AI is considered to be a study that seeks to explain and emulate intelligent behaviour in terms of computational processes. Schalkeoff, 1990.  AI is considered to be a branch of computer science that is concerned with the automation of intelligent behavior. Luger & Stubblefield, 1993. CS Department Jahan University Kabul Afghanistan.
  • 16. What’s involved in Intelligence? • Ability to interact with the real world • to perceive, understand, and act • e.g., speech recognition and understanding and synthesis • e.g., image understanding • e.g., ability to take actions, have an effect • Reasoning and Planning • modeling the external world, given input • solving new problems, planning, and making decisions • ability to deal with unexpected problems, uncertainties • Learning and Adaptation • we are continuously learning and adapting • our internal models are always being “updated” • e.g., a baby learning to categorize and recognize animals CS Department Jahan University Kabul Afghanistan.
  • 17. Academic Disciplines relevant to AI • Philosophy Logic, methods of reasoning, mind as physical system, foundations of learning, language, rationality. • Mathematics Formal representation and proof, algorithms, computation, (un)decidability, (in)tractability • Probability/Statistics modeling uncertainty, learning from data • Economics utility, decision theory, rational economic agents • Neuroscience neurons as information processing units. • Psychology/ how do people behave, perceive, process cognitive Cognitive Science information, represent knowledge. • Computer building fast computers engineering • Linguistics knowledge representation, grammars CS Department Jahan University Kabul Afghanistan.
  • 18. HAL: from the movie 2001 • 2001: A Space Odyssey • classic science literature movie from 1969 • HAL • part of the story centers around an intelligent computer called HAL • HAL is the “brains” of an intelligent spaceship • in the movie, HAL can • speak easily with the team • see and understand the emotions of the team • navigate the ship automatically • diagnose on-board problems • make life-and-death decisions • display emotions • In 1969 this was science literature: is it still science literature?
  • 19. Hal and AI • HAL’s Legacy: 2001’s Computer as Dream and Reality • MIT Press, 1997, David Stork (ed.) • discusses • HAL as an intelligent computer • are the predictions for HAL realizable with AI today? • Materials online at • http://mitpress.mit.edu/e-books/Hal/contents.html • The website contains • full text and abstracts of chapters from the book • links to related material and AI information • sound and images from the film CS Department Jahan University Kabul Afghanistan.
  • 20. Consider what might be involved in building a computer like Hal…. • What are the components that might be useful? • Fast hardware? • Chess-playing at grandmaster level? • Speech interaction? • speech synthesis (text to phonic) • speech recognition • speech understanding • Image recognition and understanding ? • Learning? • Planning and decision-making? CS Department Jahan University Kabul Afghanistan.
  • 21. Can we build hardware as complex as the brain? • How complicated is our brain? • a neuron, or nerve cell, is the basic information processing unit • estimated to be on the order of 10 12 neurons in a human brain • many more synapses (10 14) connecting these neurons • cycle time: 10 -3 seconds (1 millisecond) • How complex can we make computers? • 108 or more transistors per CPU • supercomputer: hundreds of CPUs, 1012 bits of RAM • cycle times: order of 10 - 9 seconds • Conclusion • YES: in the near future we can have computers with as many basic processing elements as our brain, but with • far fewer interconnections (wires or synapses) than the brain • much faster updates than the brain • but building hardware is very different from making a computer behave like a brain! CS Department Jahan University Kabul Afghanistan.
  • 22. Can Computers beat Humans at Chess? • Chess Playing is a classic AI problem • well-defined problem • very complex: difficult for humans to play well • Conclusion: • YES: today’s computers can beat even the best human 1200 1400 1600 1800 2000 2200 2400 2600 2800 3000 1966 1971 1976 1981 1986 1991 1997 Ratings Human World Champion Deep Blue Deep Thought PointsRatings CS Department Jahan University Kabul Afghanistan.
  • 23. Can Computers Talk? • This is known as “speech synthesis” • translate text to phonetic form • e.g., “fictitious” -> fik-tish-es • use pronunciation rules to map phonemes to actual sound • e.g., “tish” -> sequence of basic audio sounds • Difficulties • sounds made by this “lookup” approach sound unnatural • sounds are not independent • e.g., “act” and “action • a harder problem is emphasis, emotion, etc • humans understand what they are saying • machines don’t: so they sound unnatural • Conclusion: • NO, for complete sentences • YES, for individual words CS Department Jahan University Kabul Afghanistan.
  • 24. Can Computers Recognize Speech? • Speech Recognition: • mapping sounds from a microphone into a list of words • classic problem in AI, very difficult • Recognizing single words from a small vocabulary • systems can do this with high accuracy (order of 99%) • e.g., directory inquiries • limited vocabulary (area codes, city names) • computer tries to recognize you first, if unsuccessful hands you over to a human operator • saves millions of dollars a year for the phone companies CS Department Jahan University Kabul Afghanistan.
  • 25. Recognizing human speech (ctd.) • Recognizing normal speech is much more difficult • speech is continuous: where are the boundaries between words? • large vocabularies • can be many thousands of possible words • we can use context to help figure out what someone said • background noise, other speakers, accents etc • on normal speech, modern systems are only about 60-70% accurate • Conclusion: • NO, normal speech is too complex to accurately recognize • YES, for restricted problems (small vocabulary, single speaker) CS Department Jahan University Kabul Afghanistan.
  • 26. Can Computers Understand speech? • Understanding is different to recognition: • “Time flies like an arrow” • Assume the computer can recognize all the words • How many different interpretations are there? • 1. Time passes quickly like an arrow? • 2. Command: time the flies the way an arrow times the flies • 3. Command: only time those flies which are like an arrow • 4. “time-flies” are fond of arrows • only 1. makes any sense, • but how could a computer figure this out? • clearly humans use a lot of implicit (unspoken) commonsense knowledge in communication • Conclusion: NO, much of what we say is beyond the capabilities of a computer to understand at present CS Department Jahan University Kabul Afghanistan.
  • 27. Can Computers Learn and Adapt ? • Learning and Adaptation • consider a computer learning to drive on the freeway • we could teach it lots of rules about what to do • systems like this are under development (e.g., Daimler Benz) • machine learning allows computers to learn to do things without pure programming • Conclusion: YES, computers can learn and adapt, when presented with information in the appropriate way CS Department Jahan University Kabul Afghanistan.
  • 28. • Recognition v. Understanding (like Speech) • Recognition and Understanding of Objects in a scene • look around this room • you can naturally recognize objects • human brain can map 2d visual image to 3d “map” • Why is visual recognition a hard problem? • Conclusion: • mostly NO: computers can only “see” certain types of objects under limited circumstances • YES for certain constrained problems (e.g., face recognition) Can Computers “see”? CS Department Jahan University Kabul Afghanistan.
  • 29. Can computers plan and make optimal decisions? • Intelligence • involves solving problems and making decisions and plans • e.g., you want to take a holiday in Brazil • you need to decide on flights • you need to get to the airport, etc • involves a sequence of decisions, plans, and actions • What makes planning hard? • the world is not predictable: • your flight is canceled . • there are a potentially huge number of details • do you consider all flights? all dates? • no: commonsense constrains your solutions • AI systems are only successful in constrained planning problems • Conclusion: NO, real-world planning and decision-making is still beyond the capabilities of modern computers • exception: very well-defined, constrained problems CS Department Jahan University Kabul Afghanistan.
  • 30. Summary of State of AI Systems in Practice • Speech synthesis, recognition and understanding • very useful for limited vocabulary applications • unconstrained speech understanding is still too hard • Computer vision • works for constrained problems (hand-written zip-codes) • understanding real-world, natural scenes is still too hard • Learning • adaptive systems are used in many applications: have their limits • Planning and Reasoning • only works for constrained problems: e.g., chess • real-world is too complex for general systems • Overall: • many components of intelligent systems are “achievable” • there are many interesting research problems remaining CS Department Jahan University Kabul Afghanistan.
  • 31. Intelligent Systems in Your Everyday Life • Post Office • automatic address recognition and sorting of mail • Banks • automatic check readers, signature verification systems • automated loan application classification • Customer Service • automatic voice recognition • The Web • Identifying your age, gender, location, from your Web surfing • Automated fraud detection • Digital Cameras • Automated face detection and focusing • Computer Games CS Department Jahan University Kabul Afghanistan.
  • 32. AI Applications: Machine Translation • Language problems in international business • e.g., at a meeting of Japanese, Korean, Vietnamese and Swedish investors, no common language • solution; hire translators to translate • would be much cheaper if a machine could do this • How hard is automated translation • very difficult! e.g., English to Russian • “The spirit is willing but the flesh is weak” (English) • “the vodka is good but the meat is rotten” (Russian) • not only must the words be translated, but their meaning also! • is this problem “AI-complete”? • However.... • commercial systems can do a lot of the work very well (e.g., restricted vocabularies in software documentation) • algorithms which combine dictionaries, grammar models, etc. CS Department Jahan University Kabul Afghanistan.
  • 33. AI and Web Search CS Department Jahan University Kabul Afghanistan.
  • 34. Summary of Today’s Lecture • Artificial Intelligence involves the study of: • automated recognition and understanding of signals • reasoning, planning, and decision-making • learning and adaptation • AI has made substantial progress in • recognition and learning • some planning and reasoning problems • …but many open research problems • AI Applications • improvements in hardware and algorithms => AI applications in industry, finance, medicine, and science. CS Department Jahan University Kabul Afghanistan.

Editor's Notes

  1. Synthesis : mixture