SlideShare a Scribd company logo
1 of 22
INTRODUCTION TO
ARTIFICIAL INTELLIGENCE
Rishi Ram Khanal
BIM (TU)
What is Intelligent
Are the things below showed is
Intelligent
Some Aspect Of Intelligence
• Searching a Path
• Next Number in the Sequence(1,3,7,13,21,..)
• Solving Problem Everyday
• Planning(Example-Timetable)
• Memory and Information Processing(ex-Doctor)
• Amiguity
• Understanding and Perception
• Recognition and Learning
What is Intilligence
1. Ability to solve the problem
2. Ability to plan and schedule
3. Ability to memorize and solve the problem
4. Ability to learn
5. Ability to recognize
6. Ability to understand
What Is AI
Turing Test(1950)
• The Computer is Interrogated by a human via a
teletype
• It passes if the human cannot tell if there is computer
or human at the other end
Sufficency:Chinese Room Argument
Formal Definition Of AI
• Thought process/reasoning vs. behaviour
• Human-like performance vs. ideal
Performance
Approaches to AI
1. Acting humanly:The Turing Test Approach
2. Thinking humanly:Cognitive modeling
approach
3. Thinking rationaly:”Law of thought ”
approach
4. Acting rationally:The rational Agent Approach
ASSIGNMENT
1. History Of AI
2. Comparison between computer and Human
brain(on basis of computational)
3. Difference Between AI and OmniScience
4. Watch movie based on Artificial Intelligence
BFS AND DFS Complexity
b: branching factor d; depth of the goal
Breadth-First Search:
Time: 1+b+b2+b3+…..+bd= O(bd)
space: O(bd)
Depth First Search
Time=O(bm), where m is depth space treee
space= O(bm)
Question
• Imagine searching a tree with branching factor
8 and depth 10. Assume a node requires just 8
bytes of storage. The breadth first search
might require up to
Uniform Cost Search
• Uniform cost search can be used if the cost of
travelling from one node to another is available
• Uinform cost search always expands the lowest
cost node on the fringe(the collection od nodes
that are waiting to be expanded)
Disadvantage: Does not care about the no of path
has but only about their cost.Hence it might get
stuck in an infinite loof if it expands a node that
has a zero cost action leading back to same state
Iterative Deepening DFS and Depth-
Limited Search
• Depth Limited search
Perform depth first search but only to a pre-specified
depth limit L.
No node on a path that is more than L steps from the
initial state is placed on the frontier.
We truncate the search by looking only at paths of
length L or les
Informed Search(Heuristic Search)
• Informed search methods use problem
specific knowledge , are more efficient
• In informed search heuristic are used to
identify most promising search path
• Heuristic means “rule of thumb”
• Heuristic are criteria, method or principle for
deciding which among several alternative
course of action promise to be the most
effective in order to achieve goal
Example of heuristic function
• Want path from kathmandu to saptari
– Heuristic(kathmandu)=EuclideanDistance(kathma
ndu,saptari)
Heuristic function at a node n ia an estimate of the
optimum cost from the current node to a goal
It is demoted by h(n).
h(n)=Estimate cost of the cheapest path from node
n to a goal node
h(goal)=0
Best First Search
• Best first search algorithm almost same as depth/breadth. But we use a
priority queue, where nodes with best score are taken off the queue first
• While queue not empty and not found do:
• Remove the best node N from queue
• If n is a goal state , then found=true.
• Find all the successor nodes , assign them a score and put them on
the queue
• One important heuristic function is h(n)
• h(n) is the cheapest path from node to the goal node
• Types
• Greedy Best First Search
• A* search
Greedy best-first-search
• It tries to get as close as it can to the goal
• It expands the node that appears to be closet
of the goal
• It evaluates the node by using heuristic
function only
• Evaluation function f(n)=h(n)
• (heuristic)=(estimate of cost fron n to goal)
• h(n)=0 for goal node
• Complete? No – can get stuck in loops.
• Time? O(bm), but a good heuristic can give
dramatic improvement
• Space? O(bm) - keeps all nodes in memory
• Optimal? No
e.g. AradSibiuRimnicu
VireaPitestiBucharest is shorter!
A* search
• Greedy Best search analyses nodes with the
lowest cost of node n to reach goal.And it may
get stuck in search of goal.
• Idea: Avoid expanding paths that are already
expensive
f(n)=g(n) + h(n)
Where f(n)=cost total cost of path through n to goal
h(n)=estimate cost from n to goal
g(n)=cost so far to reach n
Hill climbing Search
• Hill climbing search initiates a loop that
continuosly moves in the direction of
increasing value
• Terminates when it reaches a “peak” where no
neighbor has a higher value
• Doesnot maintain a search tree so that
current node data structure needs only record
the state and its objective function value.
• Hill climbing doesnot look ahead beyond the
immediate neighbour of the current state.
• Hill climbing is also greedy local search
sometimes because it grabs a good neighbour
state without thinking ahead about where to
go next
• One move is selected and all other nodes are
rejected and are never considered
• Halts if there is no sucessor
• Problem: depending on initial state, can get
stuck in local maxima
Algorithm
• Determine successors of current state
• Choose successor of maximum goodness
• If goodness of best successor is less than
current state’s goodness, stop
• Otherwise make best successor the current
state and go to step1
Local maxima: a local maxima is a peak
that is higher than each of neighbour state but
lower than the global maximum
Drawback of Hill Climbing Search
• Local Maxima
• Plateaus
• Ridge
• Solution to above given problem
• Backtrack to some earlier node and try going to
different direction(for local maxima)
• Make a big jump in some direction to try to get a new
section of the search space(for plateau)
• Apply two or more rules such as bi-direction search
before doing the test(for ridge)
» Moving in several direction at once

More Related Content

Similar to Introduction to Artificial Intelligence

lecture 6 AI - A star.pdf
lecture 6 AI - A star.pdflecture 6 AI - A star.pdf
lecture 6 AI - A star.pdfHassanElalfy4
 
Artificial intelligence(06)
Artificial intelligence(06)Artificial intelligence(06)
Artificial intelligence(06)Nazir Ahmed
 
Artificial intelligence(06)
Artificial intelligence(06)Artificial intelligence(06)
Artificial intelligence(06)Nazir Ahmed
 
An Introduction to Artificial Intelligence
An Introduction to Artificial IntelligenceAn Introduction to Artificial Intelligence
An Introduction to Artificial IntelligenceSeth Juarez
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
 
Heuristic Searching Algorithms Artificial Intelligence.pptx
Heuristic Searching Algorithms Artificial Intelligence.pptxHeuristic Searching Algorithms Artificial Intelligence.pptx
Heuristic Searching Algorithms Artificial Intelligence.pptxSwagat Praharaj
 
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdfAI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdfAsst.prof M.Gokilavani
 
Heuristic or informed search
Heuristic or informed searchHeuristic or informed search
Heuristic or informed searchHamzaJaved64
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptxRaviKiranVarma4
 
lect03-informed-searchhhhhhhhhhhhhhhhh.pdf
lect03-informed-searchhhhhhhhhhhhhhhhh.pdflect03-informed-searchhhhhhhhhhhhhhhhh.pdf
lect03-informed-searchhhhhhhhhhhhhhhhh.pdfTrngThunKit
 
Problem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptxProblem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptxkitsenthilkumarcse
 
turning test, how it works and winners.ppt
turning test, how it works and winners.pptturning test, how it works and winners.ppt
turning test, how it works and winners.pptMuhammadAbdullah311866
 

Similar to Introduction to Artificial Intelligence (20)

lecture 6 AI - A star.pdf
lecture 6 AI - A star.pdflecture 6 AI - A star.pdf
lecture 6 AI - A star.pdf
 
Artificial intelligence(06)
Artificial intelligence(06)Artificial intelligence(06)
Artificial intelligence(06)
 
Artificial intelligence(06)
Artificial intelligence(06)Artificial intelligence(06)
Artificial intelligence(06)
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
2.uninformed search
2.uninformed search2.uninformed search
2.uninformed search
 
abhishek ppt.pptx
abhishek ppt.pptxabhishek ppt.pptx
abhishek ppt.pptx
 
Chap11 slides
Chap11 slidesChap11 slides
Chap11 slides
 
An Introduction to Artificial Intelligence
An Introduction to Artificial IntelligenceAn Introduction to Artificial Intelligence
An Introduction to Artificial Intelligence
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Heuristic Searching Algorithms Artificial Intelligence.pptx
Heuristic Searching Algorithms Artificial Intelligence.pptxHeuristic Searching Algorithms Artificial Intelligence.pptx
Heuristic Searching Algorithms Artificial Intelligence.pptx
 
02LocalSearch.pdf
02LocalSearch.pdf02LocalSearch.pdf
02LocalSearch.pdf
 
Lecture 3 Problem Solving.pptx
Lecture 3 Problem Solving.pptxLecture 3 Problem Solving.pptx
Lecture 3 Problem Solving.pptx
 
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdfAI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE UNIT II notes.pdf
 
Heuristic or informed search
Heuristic or informed searchHeuristic or informed search
Heuristic or informed search
 
AI(Module1).pptx
AI(Module1).pptxAI(Module1).pptx
AI(Module1).pptx
 
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptxPPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
PPT ON INTRODUCTION TO AI- UNIT-1-PART-2.pptx
 
lect03-informed-searchhhhhhhhhhhhhhhhh.pdf
lect03-informed-searchhhhhhhhhhhhhhhhh.pdflect03-informed-searchhhhhhhhhhhhhhhhh.pdf
lect03-informed-searchhhhhhhhhhhhhhhhh.pdf
 
Problem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptxProblem solving in Artificial Intelligence.pptx
Problem solving in Artificial Intelligence.pptx
 
turning test, how it works and winners.ppt
turning test, how it works and winners.pptturning test, how it works and winners.ppt
turning test, how it works and winners.ppt
 
Lecture 3 problem solving
Lecture 3   problem solvingLecture 3   problem solving
Lecture 3 problem solving
 

More from rishi ram khanal

Measurement of gdp under product method
Measurement of gdp under product methodMeasurement of gdp under product method
Measurement of gdp under product methodrishi ram khanal
 
Major social problem in nepal child labour socilology
Major social problem in nepal child labour socilologyMajor social problem in nepal child labour socilology
Major social problem in nepal child labour socilologyrishi ram khanal
 
Interview method in research
Interview method in researchInterview method in research
Interview method in researchrishi ram khanal
 
Presentation on kurtosis statistics
Presentation on kurtosis statisticsPresentation on kurtosis statistics
Presentation on kurtosis statisticsrishi ram khanal
 
Importance of double entry accounting system for public limited company (basi...
Importance of double entry accounting system for public limited company (basi...Importance of double entry accounting system for public limited company (basi...
Importance of double entry accounting system for public limited company (basi...rishi ram khanal
 
Implementation issues software engineering
Implementation issues software engineeringImplementation issues software engineering
Implementation issues software engineeringrishi ram khanal
 
Effect of migration in developing country
Effect of migration in developing countryEffect of migration in developing country
Effect of migration in developing countryrishi ram khanal
 
GUI (graphical user interface)
GUI (graphical user interface)GUI (graphical user interface)
GUI (graphical user interface)rishi ram khanal
 
Goals of firm business finance
Goals of firm business financeGoals of firm business finance
Goals of firm business financerishi ram khanal
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
GDP and trends economics .rishi
GDP and trends economics .rishiGDP and trends economics .rishi
GDP and trends economics .rishirishi ram khanal
 
Final internship-report on the networking department of the internet service ...
Final internship-report on the networking department of the internet service ...Final internship-report on the networking department of the internet service ...
Final internship-report on the networking department of the internet service ...rishi ram khanal
 
Field study of crystal finance share broker
Field study of crystal finance share brokerField study of crystal finance share broker
Field study of crystal finance share brokerrishi ram khanal
 
Database management system
Database management systemDatabase management system
Database management systemrishi ram khanal
 
Credential reuse cyber security
Credential reuse cyber securityCredential reuse cyber security
Credential reuse cyber securityrishi ram khanal
 
Cisco packet tracer router
Cisco packet tracer  routerCisco packet tracer  router
Cisco packet tracer routerrishi ram khanal
 

More from rishi ram khanal (20)

Measurement of gdp under product method
Measurement of gdp under product methodMeasurement of gdp under product method
Measurement of gdp under product method
 
Major social problem in nepal child labour socilology
Major social problem in nepal child labour socilologyMajor social problem in nepal child labour socilology
Major social problem in nepal child labour socilology
 
Light source ooad
Light source ooadLight source ooad
Light source ooad
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Interview method in research
Interview method in researchInterview method in research
Interview method in research
 
Presentation on kurtosis statistics
Presentation on kurtosis statisticsPresentation on kurtosis statistics
Presentation on kurtosis statistics
 
Importance of double entry accounting system for public limited company (basi...
Importance of double entry accounting system for public limited company (basi...Importance of double entry accounting system for public limited company (basi...
Importance of double entry accounting system for public limited company (basi...
 
Implementation issues software engineering
Implementation issues software engineeringImplementation issues software engineering
Implementation issues software engineering
 
Effect of migration in developing country
Effect of migration in developing countryEffect of migration in developing country
Effect of migration in developing country
 
GUI (graphical user interface)
GUI (graphical user interface)GUI (graphical user interface)
GUI (graphical user interface)
 
Goals of firm business finance
Goals of firm business financeGoals of firm business finance
Goals of firm business finance
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
GDP and trends economics .rishi
GDP and trends economics .rishiGDP and trends economics .rishi
GDP and trends economics .rishi
 
Final internship-report on the networking department of the internet service ...
Final internship-report on the networking department of the internet service ...Final internship-report on the networking department of the internet service ...
Final internship-report on the networking department of the internet service ...
 
Field study of crystal finance share broker
Field study of crystal finance share brokerField study of crystal finance share broker
Field study of crystal finance share broker
 
Dijkstra algorithm
Dijkstra algorithmDijkstra algorithm
Dijkstra algorithm
 
Computer virus and worms
Computer virus and wormsComputer virus and worms
Computer virus and worms
 
Database management system
Database management systemDatabase management system
Database management system
 
Credential reuse cyber security
Credential reuse cyber securityCredential reuse cyber security
Credential reuse cyber security
 
Cisco packet tracer router
Cisco packet tracer  routerCisco packet tracer  router
Cisco packet tracer router
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 

Introduction to Artificial Intelligence

  • 2. What is Intelligent Are the things below showed is Intelligent
  • 3. Some Aspect Of Intelligence • Searching a Path • Next Number in the Sequence(1,3,7,13,21,..) • Solving Problem Everyday • Planning(Example-Timetable) • Memory and Information Processing(ex-Doctor) • Amiguity • Understanding and Perception • Recognition and Learning
  • 4. What is Intilligence 1. Ability to solve the problem 2. Ability to plan and schedule 3. Ability to memorize and solve the problem 4. Ability to learn 5. Ability to recognize 6. Ability to understand
  • 5. What Is AI Turing Test(1950) • The Computer is Interrogated by a human via a teletype • It passes if the human cannot tell if there is computer or human at the other end Sufficency:Chinese Room Argument
  • 6. Formal Definition Of AI • Thought process/reasoning vs. behaviour • Human-like performance vs. ideal Performance
  • 7. Approaches to AI 1. Acting humanly:The Turing Test Approach 2. Thinking humanly:Cognitive modeling approach 3. Thinking rationaly:”Law of thought ” approach 4. Acting rationally:The rational Agent Approach
  • 8. ASSIGNMENT 1. History Of AI 2. Comparison between computer and Human brain(on basis of computational) 3. Difference Between AI and OmniScience 4. Watch movie based on Artificial Intelligence
  • 9. BFS AND DFS Complexity b: branching factor d; depth of the goal Breadth-First Search: Time: 1+b+b2+b3+…..+bd= O(bd) space: O(bd) Depth First Search Time=O(bm), where m is depth space treee space= O(bm)
  • 10. Question • Imagine searching a tree with branching factor 8 and depth 10. Assume a node requires just 8 bytes of storage. The breadth first search might require up to
  • 11. Uniform Cost Search • Uniform cost search can be used if the cost of travelling from one node to another is available • Uinform cost search always expands the lowest cost node on the fringe(the collection od nodes that are waiting to be expanded) Disadvantage: Does not care about the no of path has but only about their cost.Hence it might get stuck in an infinite loof if it expands a node that has a zero cost action leading back to same state
  • 12. Iterative Deepening DFS and Depth- Limited Search • Depth Limited search Perform depth first search but only to a pre-specified depth limit L. No node on a path that is more than L steps from the initial state is placed on the frontier. We truncate the search by looking only at paths of length L or les
  • 13. Informed Search(Heuristic Search) • Informed search methods use problem specific knowledge , are more efficient • In informed search heuristic are used to identify most promising search path • Heuristic means “rule of thumb” • Heuristic are criteria, method or principle for deciding which among several alternative course of action promise to be the most effective in order to achieve goal
  • 14. Example of heuristic function • Want path from kathmandu to saptari – Heuristic(kathmandu)=EuclideanDistance(kathma ndu,saptari) Heuristic function at a node n ia an estimate of the optimum cost from the current node to a goal It is demoted by h(n). h(n)=Estimate cost of the cheapest path from node n to a goal node h(goal)=0
  • 15. Best First Search • Best first search algorithm almost same as depth/breadth. But we use a priority queue, where nodes with best score are taken off the queue first • While queue not empty and not found do: • Remove the best node N from queue • If n is a goal state , then found=true. • Find all the successor nodes , assign them a score and put them on the queue • One important heuristic function is h(n) • h(n) is the cheapest path from node to the goal node • Types • Greedy Best First Search • A* search
  • 16. Greedy best-first-search • It tries to get as close as it can to the goal • It expands the node that appears to be closet of the goal • It evaluates the node by using heuristic function only • Evaluation function f(n)=h(n) • (heuristic)=(estimate of cost fron n to goal) • h(n)=0 for goal node
  • 17. • Complete? No – can get stuck in loops. • Time? O(bm), but a good heuristic can give dramatic improvement • Space? O(bm) - keeps all nodes in memory • Optimal? No e.g. AradSibiuRimnicu VireaPitestiBucharest is shorter!
  • 18. A* search • Greedy Best search analyses nodes with the lowest cost of node n to reach goal.And it may get stuck in search of goal. • Idea: Avoid expanding paths that are already expensive f(n)=g(n) + h(n) Where f(n)=cost total cost of path through n to goal h(n)=estimate cost from n to goal g(n)=cost so far to reach n
  • 19. Hill climbing Search • Hill climbing search initiates a loop that continuosly moves in the direction of increasing value • Terminates when it reaches a “peak” where no neighbor has a higher value • Doesnot maintain a search tree so that current node data structure needs only record the state and its objective function value.
  • 20. • Hill climbing doesnot look ahead beyond the immediate neighbour of the current state. • Hill climbing is also greedy local search sometimes because it grabs a good neighbour state without thinking ahead about where to go next • One move is selected and all other nodes are rejected and are never considered • Halts if there is no sucessor • Problem: depending on initial state, can get stuck in local maxima
  • 21. Algorithm • Determine successors of current state • Choose successor of maximum goodness • If goodness of best successor is less than current state’s goodness, stop • Otherwise make best successor the current state and go to step1 Local maxima: a local maxima is a peak that is higher than each of neighbour state but lower than the global maximum
  • 22. Drawback of Hill Climbing Search • Local Maxima • Plateaus • Ridge • Solution to above given problem • Backtrack to some earlier node and try going to different direction(for local maxima) • Make a big jump in some direction to try to get a new section of the search space(for plateau) • Apply two or more rules such as bi-direction search before doing the test(for ridge) » Moving in several direction at once