SlideShare ist ein Scribd-Unternehmen logo
1 von 67
Unit-1
Artificial Intelligence (KME 062)
By A Nirala
Galgotias College of Engineering and
Technology, Greater Noida
Artificial Intelligence
Artificial intelligence is the science and engineering of
making intelligent machines.
Intelligence : “The capacity to learn and solve problems.”
Artificial Intelligence (AI) is the simulation of human intelligence by
machines.
1) The ability to solve problems.
2) The ability to act rationally.
3) The ability to act like humans.
Principles of Al
1) Reasoning, knowledge, planning, learning and communication.
2) Perception and the ability to move and manipulate objects.
3) It is the science and engineering of making intelligent machines,
especially intelligent computer programs
Human Intelligence
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: >>>
1. AI in Astronomy
Artificial Intelligence can be very useful to solve complex universe
problems. AI technology can be helpful for understanding the
universe such as how it works, origin, etc.
2. AI in Healthcare
In the last, five to ten years, AI becoming more advantageous for the
healthcare industry and going to have a significant impact on this
industry.
Healthcare Industries are applying AI to make a better and faster
diagnosis than humans. AI can help doctors with diagnoses and can
inform when patients are worsening so that medical help can reach to
the patient before hospitalization.
3. AI in Gaming
AI can be used for gaming purpose. The AI machines can play strategic
games like chess, where the machine needs to think of a large number
of possible places.
4. AI in Finance
AI and finance industries are the best matches for each other. The finance
industry is implementing automation, chatbot, adaptive intelligence,
algorithm trading, and machine learning into financial processes.
5. AI in Data Security
The security of data is crucial for every company and cyber-attacks are
growing very rapidly in the digital world. AI can be used to make your data
more safe and secure. Some examples such as AEG bot, AI2 Platform, are
used to determine software bug and cyber-attacks in a better way.
6. AI in Social Media
Social Media sites such as Facebook, Twitter, and Snapchat contain billions of
user profiles, which need to be stored and managed in a very efficient way. AI
can organize and manage massive amounts of data. AI can analyze lots of data
to identify the latest trends, hashtag, and requirement of different users.
7. AI in Travel & Transport
AI is becoming highly demanding for travel industries. AI is capable
of doing various travel related works such as from making travel
arrangement to suggesting the hotels, flights, and best routes to the
customers. Travel industries are using AI-powered chatbots which
can make human-like interaction with customers for better and fast
response.
8. AI in Entertainment
We are currently using some AI based applications in our daily life with some
entertainment services such as Netflix or Amazon. With the help of ML/AI
algorithms, these services show the recommendations for programs or
shows.
9. AI in education:
AI can automate grading so that the tutor can have more time to teach.
AI chatbot can communicate with students as a teaching assistant.
AI in the future can be work as a personal virtual tutor for students,
which will be accessible easily at any time and any place.
 The Turing test, originally called
the imitation game by Alan Turing in 1950
AI, ML & Deep Learning
Common Misconceptions About Ai?
Many AI-related misconceptions are making the rounds in the age of “fake
news.” The most common ones are:
 AI will replace humans
 AI systems aren’t safe
 AI will lead to significant unemployment
While these types of stories are common, they’re far from the truth. Even
though some AI-based technology is able to complete some tasks—for example,
analyzing zettabytes of data in less than a second—it still needs humans to
gather the data and define the patterns for identification.
So we aren’t near a reality where technology has the potential to replace us or
our jobs.
Quiz-1
[1] What is artificial intelligence?
[2] Why would evolution tend to result in
systems that act rationally? What goals are such
systems designed to achieve?
[3] What’s the difference between AI and ML?
[4] What’s a Turing test?
Agent program:- It is important to keep these two ideas distinct. The agent function is an
abstract mathematical description; the agent program is a concrete implementation, running
on the agent architecture.
Current + History
/Effectors
Agent
Percept
Decision
Action
Change
AGENT MODEL-
Intelligent Agents
Environment
Percept (Sense)
Current Situation
(What the world
is like now)
If-Then Condition
Action
(if-then Rules)
Goal Based Agents
Utility Based Agents
Utility Based Agents contd…
Ex. Vacuum Cleaner
The Structure of Agents
State Space Search
It is a process used in AI in which a successive configurations or a state of an
instance are considered with intention of finding a Goal State with desired
property.
 It is used in problem Solving
Problem are modeled as state space
Representation
State Space
Set of state in which a problem can be.
S: (S, A, Action(s), Result (s,a), Cost (s,a))
S-Represent - a set of all possible states.
A- Represent- a set of all possible actions.
Action(s)- Function (Which action is possible for current state)
Result (s,a)- Function ( State reached by performing action ‘a’ on State ‘s’)
Eight Tile Puzzle/ Games as Search Problems
1 4 3
2 5
8 6 7
1 2 3
8 4
7 6 5
Start (S) Goal (G)
1 4 3
2 5
8 6 7
Action Possible:-
up, Down, Left , Right
Legal Moves for a
state
R
Right is not possible
Up
Down
left
New state (S1)
-----------
S2……… Sn
S.No Uninformed Searching Informed Searching (Heuristic search)
1 Search without Information Search with information
2 No Knowledge Use knowledge to find steps to solution
3 Time Consuming Quick solution
4 More Complexity (Time, Space) Less Complexity (Time, Space)
5 DFS, BFS etc. BFS, A*
Difference Between Informed and Uninformed Searching
Quiz-2
1. What is an Intelligent agent?
2. Write the Classification of an Intelligent agent and also explain
about their model on which it works.
3. Write Notes on
(a) Simple Reflex Agent (b) Model Based Agent (c) Goal Based
Agent (d) Utility based Agent (e) Learning Agent
4. Write the PEAS Model for the following Agents:
Vacuum Cleaner, Doctors, Shop Keeper
5. Explain about structure of agent and their function.
6. Explain state space search and classify the search algorithm.
7. Write Notes on
(a) Breadth First Search (b) Depth First Search (c) Best First
Search (d) A* Search
Constraint Satisfaction problem (CSP)
CSP contains three types of components: (V, D, C)
V is set of variables { V1, V2, V3, ……….Vn}
D is set of domains {D1, D2, D3 ………..Dn} one for each variable
C is set of constraints that specify allowable combination of
values. {C1, C2, C3……}
Ci = (Scope, Rel)
Where scope is set of variables that participate in constraint
Rel is relation that defines the values
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Cipher Decipher
ABCD
1234
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0
1
2
3
4
5
6
7
8
9
SEND
+MORE
---------------
MONEY
---------------
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Cipher Decipher
ABCD
1234
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0
1=M
2
3
4
5
6
7
8
9
SEND
+1ORE
---------------
1ONEY
---------------
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Cipher Decipher
ABCD
1234
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0=O
1=M
2
3
4
5
6
7
8
9=S
SEND
+1ORE
---------------
1ONEY
---------------
S+1=O
If S=9, Then 9+1=10
S=maximum no., then will generate
carry of 1.
If S=8, then O=9, No carry, means not
suitable
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Cipher Decipher
ABCD
1234
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0=O
1=M
2
3
4
5
6
7
8
9=S
9END
+1ORE
---------------
10NEY
---------------
S+1=O
If S=9, Then 9+1=10
S=maximum no., then will generate
carry of 1.
If S=8, then O=9, No carry, means not
suitable
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Cipher Decipher
ABCD
1234
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0=O
1=M
2
3
4
5
6
7
8
9=S
9END
+10RE
---------------
10NEY
---------------
S+1=O
If S=9, Then 9+1=10
S=maximum no., then will generate
carry of 1.
If S=8, then O=9, No carry, means not
suitable
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0=O
1=M
2
3
4
5
6
7
8
9=S
9END
+10RE
---------------
10NEY
---------------
E+0=N
From previous, you can take O=0
And then will E=N, which is Technically
wrong, from Rule: -(1)
So, 1 (carry) +E=N -----(1)
N+R=E ------ (2)
Possibility of E= ( 10, 11, 12, ---- )
Then,
N + R = 10 + E ------- (3)
Put Value of N from Eq. (1) in Eq. (3)
1+E+R=10+E
R=9 (This is not possible from Rule No.(1)
Eqn. (3) Can also write as
1+N+R=10+E ------ (4)
1+1+E+R=10+E
R=8 (Accepted)
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
Ex:-
SEND
+MORE
---------------
MONEY
---------------
No.
0=O
1=M
2=Y
3
4
5=E
6=N
7=D
8=R
9=S
9END
+108E
---------------
10NEY
---------------
D+E=Y
(Value of Y should such as when carry is
possible, So, Y may be 5+6, 5+7, 6+7)
If, D=5, and E=7
Then 9785
+1087
---------------
10N72
---------------
Now, If, D=7, E=5
Then
9567
+1085
---------------
10652
---------------
And This is not
acceptable
CRYPT-ARITHMETIC PROBLEM
General Rule :-
(1) Unique Number ( 0 to 9)
(2) Can generate carry
(3) Addition never will more than 19
SEND
+MORE
---------------
MONEY
---------------
9567
+1085
---------------
10652
---------------
TWO
+TWO
---------------
FOUR
---------------
?
1. Intelligent Backtracking Algorithm
1 2
3 4
V= {1, 2, 3, 4}
D= { Red, Green, Blue}
C= { 1 ≠ 2, 1 ≠ 3, 1 ≠ 4,
3 ≠ 4, 2 ≠ 4}
1 2 3 4
Initial
Domain
R, G, B R, G, B R, G, B R, G, B
1=R
2=G
3=B
1. Intelligent Backtracking Algorithm
1 2
3 4
V= {1, 2, 3, 4}
D= { Red, Green, Blue}
C= { 1 ≠ 2, 1 ≠ 3, 1 ≠ 4,
3 ≠ 4, 2 ≠ 4}
1 2 3 4
Initial
Domain
R, G, B R, G, B R, G, B R, G, B
1=R R G, B G, B G, B
2=G R G G, B B
3=B R G B B
1. Intelligent Backtracking Algorithm
1 2
3 4
V= {1, 2, 3, 4}
D= { Red, Green, Blue}
C= { 1 ≠ 2, 1 ≠ 3, 1 ≠ 4,
3 ≠ 4, 2 ≠ 4}
1 2 3 4
Initial
Domain
R, G, B R, G, B R, G, B R, G, B
1=R R G, B G, B G, B
2=G R G G, B B
3=G R G G B
1. Intelligent Backtracking Algorithm
2. Minimax Algorithm
Minimax Algorithm
Backtracking algorithm
Best Move strategy used
Max will try to maximize
its utility (Best Move)
Min will try to minimize
utility (Worst move)
Introduction of Artificial Intelligence
Introduction of Artificial Intelligence
Introduction of Artificial Intelligence

Weitere ähnliche Inhalte

Was ist angesagt?

Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
Slideshare
 

Was ist angesagt? (20)

Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
 
Introduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptxIntroduction to Artificial Intelligence.pptx
Introduction to Artificial Intelligence.pptx
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Artificial intelligence agents and environment
Artificial intelligence agents and environmentArtificial intelligence agents and environment
Artificial intelligence agents and environment
 
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4
 
Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
 
Artificial intelegence semifinal round (3rd rank)
Artificial intelegence semifinal round (3rd rank)Artificial intelegence semifinal round (3rd rank)
Artificial intelegence semifinal round (3rd rank)
 
Prolog Programming Language
Prolog Programming  LanguageProlog Programming  Language
Prolog Programming Language
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
intelligent system
intelligent systemintelligent system
intelligent system
 
Artificial intelligence and its application
Artificial intelligence and its applicationArtificial intelligence and its application
Artificial intelligence and its application
 
AI Lecture 5 (game playing)
AI Lecture 5 (game playing)AI Lecture 5 (game playing)
AI Lecture 5 (game playing)
 
Mc culloch pitts neuron
Mc culloch pitts neuronMc culloch pitts neuron
Mc culloch pitts neuron
 
Non Deterministic and Deterministic Problems
Non Deterministic and Deterministic Problems Non Deterministic and Deterministic Problems
Non Deterministic and Deterministic Problems
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
 

Ähnlich wie Introduction of Artificial Intelligence

AI & Innovation, Emerging trends & Future directions in AI.pptx
AI & Innovation, Emerging trends & Future directions in AI.pptxAI & Innovation, Emerging trends & Future directions in AI.pptx
AI & Innovation, Emerging trends & Future directions in AI.pptx
ssuser9437e3
 

Ähnlich wie Introduction of Artificial Intelligence (20)

AI3391 ARTIFICIAL INTELLIGENCE Unit I notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE Unit I notes.pdfAI3391 ARTIFICIAL INTELLIGENCE Unit I notes.pdf
AI3391 ARTIFICIAL INTELLIGENCE Unit I notes.pdf
 
Machine Learning in Cyber Security Domain
Machine Learning in Cyber Security Domain Machine Learning in Cyber Security Domain
Machine Learning in Cyber Security Domain
 
IRJET-Artificial Intelligence and its Applications Goal
IRJET-Artificial Intelligence and its Applications GoalIRJET-Artificial Intelligence and its Applications Goal
IRJET-Artificial Intelligence and its Applications Goal
 
AI & Innovation, Emerging trends & Future directions in AI.pptx
AI & Innovation, Emerging trends & Future directions in AI.pptxAI & Innovation, Emerging trends & Future directions in AI.pptx
AI & Innovation, Emerging trends & Future directions in AI.pptx
 
AI INTRODUCTION.pptx,INFORMATION TECHNOLOGY
AI INTRODUCTION.pptx,INFORMATION TECHNOLOGYAI INTRODUCTION.pptx,INFORMATION TECHNOLOGY
AI INTRODUCTION.pptx,INFORMATION TECHNOLOGY
 
Artificial Intelligence- What Is It.pdf
Artificial Intelligence- What Is It.pdfArtificial Intelligence- What Is It.pdf
Artificial Intelligence- What Is It.pdf
 
Fontys Eric van Tol
Fontys Eric van TolFontys Eric van Tol
Fontys Eric van Tol
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
Commercialization of AI 3.0
Commercialization of AI 3.0Commercialization of AI 3.0
Commercialization of AI 3.0
 
AI and Machine Learning In Cybersecurity | A Saviour or Enemy?
AI and Machine Learning In Cybersecurity | A Saviour or Enemy?AI and Machine Learning In Cybersecurity | A Saviour or Enemy?
AI and Machine Learning In Cybersecurity | A Saviour or Enemy?
 
Aritificial intelligence
Aritificial intelligenceAritificial intelligence
Aritificial intelligence
 
Artificial Intelligence.
Artificial Intelligence.Artificial Intelligence.
Artificial Intelligence.
 
artificialintelligence-170409073037.pdf
artificialintelligence-170409073037.pdfartificialintelligence-170409073037.pdf
artificialintelligence-170409073037.pdf
 
ARTIFICAL INTELLIGENCE
ARTIFICAL INTELLIGENCEARTIFICAL INTELLIGENCE
ARTIFICAL INTELLIGENCE
 
Fundamental of AI
Fundamental of AIFundamental of AI
Fundamental of AI
 
AGI Part 1.pdf
AGI Part 1.pdfAGI Part 1.pdf
AGI Part 1.pdf
 
Artificial intelligence ppt
Artificial intelligence pptArtificial intelligence ppt
Artificial intelligence ppt
 
AI Technology Is Making Us Safer: Is That So?
AI Technology Is Making Us Safer: Is That So?AI Technology Is Making Us Safer: Is That So?
AI Technology Is Making Us Safer: Is That So?
 
State of AI Report 2023 - Air Street Capital
State of AI Report 2023 - Air Street CapitalState of AI Report 2023 - Air Street Capital
State of AI Report 2023 - Air Street Capital
 
Copy of State of AI Report 2023 - ONLINE.pptx
Copy of State of AI Report 2023 - ONLINE.pptxCopy of State of AI Report 2023 - ONLINE.pptx
Copy of State of AI Report 2023 - ONLINE.pptx
 

Mehr von Akhileshwar Nirala (6)

Rolling of the metals
Rolling of the metalsRolling of the metals
Rolling of the metals
 
Powder Metallurgy, HERF and Plastic formation and Their Welding
Powder Metallurgy, HERF and Plastic formation and Their WeldingPowder Metallurgy, HERF and Plastic formation and Their Welding
Powder Metallurgy, HERF and Plastic formation and Their Welding
 
Casting of the metals
Casting of the metalsCasting of the metals
Casting of the metals
 
Drawing and Extrusion
Drawing and ExtrusionDrawing and Extrusion
Drawing and Extrusion
 
Metal Forming Process
Metal Forming ProcessMetal Forming Process
Metal Forming Process
 
Gas welding
Gas weldingGas welding
Gas welding
 

Kürzlich hochgeladen

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 

Kürzlich hochgeladen (20)

Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

Introduction of Artificial Intelligence

  • 1. Unit-1 Artificial Intelligence (KME 062) By A Nirala Galgotias College of Engineering and Technology, Greater Noida
  • 2. Artificial Intelligence Artificial intelligence is the science and engineering of making intelligent machines. Intelligence : “The capacity to learn and solve problems.” Artificial Intelligence (AI) is the simulation of human intelligence by machines. 1) The ability to solve problems. 2) The ability to act rationally. 3) The ability to act like humans. Principles of Al 1) Reasoning, knowledge, planning, learning and communication. 2) Perception and the ability to move and manipulate objects. 3) It is the science and engineering of making intelligent machines, especially intelligent computer programs
  • 4. 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: >>>
  • 5. 1. AI in Astronomy Artificial Intelligence can be very useful to solve complex universe problems. AI technology can be helpful for understanding the universe such as how it works, origin, etc.
  • 6. 2. AI in Healthcare In the last, five to ten years, AI becoming more advantageous for the healthcare industry and going to have a significant impact on this industry. Healthcare Industries are applying AI to make a better and faster diagnosis than humans. AI can help doctors with diagnoses and can inform when patients are worsening so that medical help can reach to the patient before hospitalization.
  • 7. 3. AI in Gaming AI can be used for gaming purpose. The AI machines can play strategic games like chess, where the machine needs to think of a large number of possible places.
  • 8. 4. AI in Finance AI and finance industries are the best matches for each other. The finance industry is implementing automation, chatbot, adaptive intelligence, algorithm trading, and machine learning into financial processes.
  • 9. 5. AI in Data Security The security of data is crucial for every company and cyber-attacks are growing very rapidly in the digital world. AI can be used to make your data more safe and secure. Some examples such as AEG bot, AI2 Platform, are used to determine software bug and cyber-attacks in a better way.
  • 10. 6. AI in Social Media Social Media sites such as Facebook, Twitter, and Snapchat contain billions of user profiles, which need to be stored and managed in a very efficient way. AI can organize and manage massive amounts of data. AI can analyze lots of data to identify the latest trends, hashtag, and requirement of different users.
  • 11. 7. AI in Travel & Transport AI is becoming highly demanding for travel industries. AI is capable of doing various travel related works such as from making travel arrangement to suggesting the hotels, flights, and best routes to the customers. Travel industries are using AI-powered chatbots which can make human-like interaction with customers for better and fast response.
  • 12. 8. AI in Entertainment We are currently using some AI based applications in our daily life with some entertainment services such as Netflix or Amazon. With the help of ML/AI algorithms, these services show the recommendations for programs or shows.
  • 13. 9. AI in education: AI can automate grading so that the tutor can have more time to teach. AI chatbot can communicate with students as a teaching assistant. AI in the future can be work as a personal virtual tutor for students, which will be accessible easily at any time and any place.
  • 14.
  • 15.  The Turing test, originally called the imitation game by Alan Turing in 1950
  • 16. AI, ML & Deep Learning
  • 17. Common Misconceptions About Ai? Many AI-related misconceptions are making the rounds in the age of “fake news.” The most common ones are:  AI will replace humans  AI systems aren’t safe  AI will lead to significant unemployment While these types of stories are common, they’re far from the truth. Even though some AI-based technology is able to complete some tasks—for example, analyzing zettabytes of data in less than a second—it still needs humans to gather the data and define the patterns for identification. So we aren’t near a reality where technology has the potential to replace us or our jobs.
  • 18. Quiz-1 [1] What is artificial intelligence? [2] Why would evolution tend to result in systems that act rationally? What goals are such systems designed to achieve? [3] What’s the difference between AI and ML? [4] What’s a Turing test?
  • 19. Agent program:- It is important to keep these two ideas distinct. The agent function is an abstract mathematical description; the agent program is a concrete implementation, running on the agent architecture. Current + History /Effectors Agent Percept Decision Action Change
  • 22.
  • 23. Environment Percept (Sense) Current Situation (What the world is like now) If-Then Condition Action
  • 25.
  • 27.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 37.
  • 38. State Space Search It is a process used in AI in which a successive configurations or a state of an instance are considered with intention of finding a Goal State with desired property.  It is used in problem Solving Problem are modeled as state space Representation State Space Set of state in which a problem can be. S: (S, A, Action(s), Result (s,a), Cost (s,a)) S-Represent - a set of all possible states. A- Represent- a set of all possible actions. Action(s)- Function (Which action is possible for current state) Result (s,a)- Function ( State reached by performing action ‘a’ on State ‘s’)
  • 39. Eight Tile Puzzle/ Games as Search Problems 1 4 3 2 5 8 6 7 1 2 3 8 4 7 6 5 Start (S) Goal (G) 1 4 3 2 5 8 6 7 Action Possible:- up, Down, Left , Right Legal Moves for a state R Right is not possible Up Down left New state (S1) ----------- S2……… Sn
  • 40.
  • 41. S.No Uninformed Searching Informed Searching (Heuristic search) 1 Search without Information Search with information 2 No Knowledge Use knowledge to find steps to solution 3 Time Consuming Quick solution 4 More Complexity (Time, Space) Less Complexity (Time, Space) 5 DFS, BFS etc. BFS, A* Difference Between Informed and Uninformed Searching
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47. Quiz-2 1. What is an Intelligent agent? 2. Write the Classification of an Intelligent agent and also explain about their model on which it works. 3. Write Notes on (a) Simple Reflex Agent (b) Model Based Agent (c) Goal Based Agent (d) Utility based Agent (e) Learning Agent 4. Write the PEAS Model for the following Agents: Vacuum Cleaner, Doctors, Shop Keeper 5. Explain about structure of agent and their function. 6. Explain state space search and classify the search algorithm. 7. Write Notes on (a) Breadth First Search (b) Depth First Search (c) Best First Search (d) A* Search
  • 48. Constraint Satisfaction problem (CSP) CSP contains three types of components: (V, D, C) V is set of variables { V1, V2, V3, ……….Vn} D is set of domains {D1, D2, D3 ………..Dn} one for each variable C is set of constraints that specify allowable combination of values. {C1, C2, C3……} Ci = (Scope, Rel) Where scope is set of variables that participate in constraint Rel is relation that defines the values
  • 49.
  • 50.
  • 51.
  • 52. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Cipher Decipher ABCD 1234 Ex:- SEND +MORE --------------- MONEY --------------- No. 0 1 2 3 4 5 6 7 8 9 SEND +MORE --------------- MONEY ---------------
  • 53. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Cipher Decipher ABCD 1234 Ex:- SEND +MORE --------------- MONEY --------------- No. 0 1=M 2 3 4 5 6 7 8 9 SEND +1ORE --------------- 1ONEY ---------------
  • 54. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Cipher Decipher ABCD 1234 Ex:- SEND +MORE --------------- MONEY --------------- No. 0=O 1=M 2 3 4 5 6 7 8 9=S SEND +1ORE --------------- 1ONEY --------------- S+1=O If S=9, Then 9+1=10 S=maximum no., then will generate carry of 1. If S=8, then O=9, No carry, means not suitable
  • 55. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Cipher Decipher ABCD 1234 Ex:- SEND +MORE --------------- MONEY --------------- No. 0=O 1=M 2 3 4 5 6 7 8 9=S 9END +1ORE --------------- 10NEY --------------- S+1=O If S=9, Then 9+1=10 S=maximum no., then will generate carry of 1. If S=8, then O=9, No carry, means not suitable
  • 56. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Cipher Decipher ABCD 1234 Ex:- SEND +MORE --------------- MONEY --------------- No. 0=O 1=M 2 3 4 5 6 7 8 9=S 9END +10RE --------------- 10NEY --------------- S+1=O If S=9, Then 9+1=10 S=maximum no., then will generate carry of 1. If S=8, then O=9, No carry, means not suitable
  • 57. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Ex:- SEND +MORE --------------- MONEY --------------- No. 0=O 1=M 2 3 4 5 6 7 8 9=S 9END +10RE --------------- 10NEY --------------- E+0=N From previous, you can take O=0 And then will E=N, which is Technically wrong, from Rule: -(1) So, 1 (carry) +E=N -----(1) N+R=E ------ (2) Possibility of E= ( 10, 11, 12, ---- ) Then, N + R = 10 + E ------- (3) Put Value of N from Eq. (1) in Eq. (3) 1+E+R=10+E R=9 (This is not possible from Rule No.(1) Eqn. (3) Can also write as 1+N+R=10+E ------ (4) 1+1+E+R=10+E R=8 (Accepted)
  • 58. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 Ex:- SEND +MORE --------------- MONEY --------------- No. 0=O 1=M 2=Y 3 4 5=E 6=N 7=D 8=R 9=S 9END +108E --------------- 10NEY --------------- D+E=Y (Value of Y should such as when carry is possible, So, Y may be 5+6, 5+7, 6+7) If, D=5, and E=7 Then 9785 +1087 --------------- 10N72 --------------- Now, If, D=7, E=5 Then 9567 +1085 --------------- 10652 --------------- And This is not acceptable
  • 59. CRYPT-ARITHMETIC PROBLEM General Rule :- (1) Unique Number ( 0 to 9) (2) Can generate carry (3) Addition never will more than 19 SEND +MORE --------------- MONEY --------------- 9567 +1085 --------------- 10652 --------------- TWO +TWO --------------- FOUR --------------- ?
  • 60. 1. Intelligent Backtracking Algorithm 1 2 3 4 V= {1, 2, 3, 4} D= { Red, Green, Blue} C= { 1 ≠ 2, 1 ≠ 3, 1 ≠ 4, 3 ≠ 4, 2 ≠ 4} 1 2 3 4 Initial Domain R, G, B R, G, B R, G, B R, G, B 1=R 2=G 3=B
  • 61. 1. Intelligent Backtracking Algorithm 1 2 3 4 V= {1, 2, 3, 4} D= { Red, Green, Blue} C= { 1 ≠ 2, 1 ≠ 3, 1 ≠ 4, 3 ≠ 4, 2 ≠ 4} 1 2 3 4 Initial Domain R, G, B R, G, B R, G, B R, G, B 1=R R G, B G, B G, B 2=G R G G, B B 3=B R G B B
  • 62. 1. Intelligent Backtracking Algorithm 1 2 3 4 V= {1, 2, 3, 4} D= { Red, Green, Blue} C= { 1 ≠ 2, 1 ≠ 3, 1 ≠ 4, 3 ≠ 4, 2 ≠ 4} 1 2 3 4 Initial Domain R, G, B R, G, B R, G, B R, G, B 1=R R G, B G, B G, B 2=G R G G, B B 3=G R G G B
  • 64. 2. Minimax Algorithm Minimax Algorithm Backtracking algorithm Best Move strategy used Max will try to maximize its utility (Best Move) Min will try to minimize utility (Worst move)