Fai Chapter 1
Fai Chapter 1
ARTIFICIAL
INTELLIGENCE
CHAPTER
1
INTRODUCTION TO ARTIFICIAL INTELLIGENCE
1,3,6,10,15,21 ?
1,2,2,3,3,3,4,4,4,4 ?
2,3,3,5,5,5,7,7,7,7 ?
Statement 1: Computers are made of silicon and power supplies, and therefore are not capable of thinking,”
Statement 2: “Computers perform much faster than humans and therefore must be more intelligent than
humans.”
Raphael-
IQ
Test
Question: If you rearrange the letters "CIFAIPC" you get the name of
a/an:
Answer: 36 (These are squares of natural numbers: 12,22,32,42,52,621^2, 2^2, 3^2, 4^2, 5^2,
6^212,22,32,42,52,62).
Alan
Turing
Turing
Test
• What is your favourite book and why?
Artificial General
Narrow AI/Weak AI Intelligence/Strong Super AI
AI
Limited Memory AI
Ex: GPTs,
Generative AI
Chat Bots.
H EURISTIC S IN A I
Definition of
heuristics:
A heuristic is a rule of thumb for solving a problem. In other words, a heuristic is a
set of guidelines that often works to solve a problem.
With a heuristic, a favorable outcome is likely, but is not guaranteed.
AI applications often rely on the application of heuristics. Contrast a heuristic with
an algorithm, which is a prescribed set of rules to solve a problem and whose
output is entirely predictable.
Heuristics in problem-solving:
George Polya’s Water Jug Problem:
You are provided with two jugs of sizes m and n respectively; and you are required to measure r liters of water
where m, n, and r are all different quantities.An instance of this problem is:
How can you measure exactly twelve liters of water from a tap or a well when you have only an eight-liters
jug and an eighteen liters jug?
a) Initial b) Final
State State
To actually solve this problem, you reverse the order of the
states.:
d) First fill the 18-liter pail.
Then fill and empty the eight-liter pail twice by transferring water from the 18-liter pail.
c) This leaves you with two liters in the 18-liter pail .
b) Pour the last two liters into the eight-liter pail.
a) Fill the 18-liter pail again from the tap or well, and pour water from the larger container to fill the
eight-liter pail, which removes six liters from the 18, leaving 12 liters in the larger pail (state a).
Examples of heuristic methods used in
AI:
1) Greedy Algorithms
Example: D ijkstra's Algorithm
2) Genetic Algorithms
Example:Traveling Salesman
Problem
3) A* search algorithm
Example: Path finding in video
games
• Medical diagnosis
• Shopping using a cash register with barcode scanning
• ATMs
• Two person games such as chess and checkers
Examples problems of well suited for
fo
AI:
1) Medical Image Processing: Detecting diseases from medical images such as X-rays, MRIs, and CT scans.
2) Natural Language Processing: Language translation, sentiment analysis, and chatbot development.
6) Supply chain optimization: Optimizing routes and inventory levels in logistics and supply chain
management.
Activity
Identify the tasks suitable for AI.
2. Creative Processes
3. Predictive Maintenance
7. Cybersecurity.
Activity: Identifying Problems Suitable for
AI
Topics:
1) A hospital wants to improve its diagnostic accuracy for detecting early-stage cancer using patient data and
medical imaging.
2) A large retail chain aims to optimize its inventory levels and reduce waste by predicting product
demand across different stores.
3) A telecommunications company plans to enhance its customer service by implementing AI chatbots to
handle common queries and issues.
4) A bank seeks to reduce fraudulent transactions by implementing an AI system that can detect
unusual patterns and behaviors in real-time.
5) An automotive manufacturer is developing self-driving cars and needs to ensure that the AI can
navigate
complex urban environments safely.
Discuss:
What is the problem described in the case study?
If AI is suitable, what type of AI solution would you propose (e.g., machine learning,
What are the potential benefits and challenges of applying AI to this problem?
APPLICATIONS A N D METHODS OF
AI
A I applications in various
fields:
• Healthcare
• Finance
• Manufacturing
• Transportation.
Healthcare:
Continuous
D ata Learning
Collection and
Feedback
Treatmen
Data
t
Processing
Planning
Model Diagnosis
Training
Finance:
Customer
Service/Continu
D ata
o us Learning
Collection
and Feedback
Algorithmi
Data
c
Processing
Trading
Model Fraud
Training D etection
Manufacturing:
Continuous
O ptimization
Learning
Data of Supply
and
Collection C hain
Feedback
Management
Q uality
D ata
control
Processing
and
inspection
Predictive
Model
Maintenanc
Training
e
Autonomous
Transportation Vehicles
Data
Collectio
n Traffic
Managemen
t
Data
Processin
g
Predictive
Maintenance
Model
Trainin
g
Drone Delivery
AI Methods
Machine Learning
Deep Learning
Computer Vision
Expert Systems
Fuzzy Logic
Evolutionary Algorithms
Computer
Vision:
Computer Vision enables machines to interpret and make decisions based on visual
data.
Image Classification
• Description: Assigning a label to an entire image based on its content.
• Applications: Object recognition, medical imaging diagnostics.
Object Detection
• Description: Identifying and locating objects within an image.
• Applications: Surveillance, autonomous vehicles, facial recognition.
Image Segmentation
• Description: Partitioning an image into multiple segments (regions or objects).
• Applications: Medical image analysis, scene understanding.
Expert Systems
Fuzzy Logic deals with reasoning that is approximate rather than fixed and exact.
•Description: Uses degrees of truth rather than the usual true/false or 0/1 binary
logic.
Genetic Algorithms
• Description: Search heuristics that mimic the process of natural evolution.
• Applications: Optimization problems, machine learning.
Swarm Intelligence
• Description: Inspired by the collective behavior of decentralized, self-organized
systems.
• Examples: Ant colony optimization, particle swarm optimization.
• Applications: Optimization, robotics, network design.
Assignment
EARLY HISTO RY OF
AI
• Milestones in the early development of AI (1950s-1970s)
• Key figures and their contributions (e.g., John McCarthy, Marvin
Minsky)
• Notable early AI projects and breakthroughs
RECENT HISTO RY OF
AI
• Developments in AI from the 1980s to the present
• Advances in machine learning and deep learning
• Major AI research achievements and technological
advancements
AI IN THE NE W
MILLENNIUM
• The current state of AI research and development
• Emerging trends and future directions in AI
• The impact of AI on society and potential ethical
considerations