Unit 1
Unit 1
Artificial Intelligence
Introduction
“The study of the computations that make it possible to
perceive reason and act”
or
"It is a branch of computer science by which we can create
intelligent machines which can behave like a human, think
like humans, and able to make decisions."
Artificial Intelligence refers to the simulation of human intelligence in machines
that are programmed to think, reason, and learn like humans. AI systems use
algorithms and vast amounts of data to recognize patterns, make decisions, and
improve their performance over time. Artificial Intelligence uses wide range of
technologies, including machine learning, natural language processing, computer
vision, and robotics. These technologies enable AI systems to perform complex
tasks, such as speech recognition and face detection, with remarkable accuracy.
With the help of AI, you can create such software or devices which can
solve real-world problems very easily and with accuracy such as health
issues, marketing, traffic issues, etc.
With the help of AI, you can create your personal virtual Assistant, such as
Cortana, Google Assistant, Siri, etc.
With the help of AI, you can build such Robots which can work in an
environment where survival of humans can be at risk.
AI opens a path for other new technologies, new devices, and new
Opportunities.
Core Concepts in AI
1. Machine Learning (ML): This is the backbone of AI, where algorithms learn
from data without being explicitly programmed. It involves training an
algorithm on a data set, allowing it to improve over time and make predictions
or decisions based on new data.
2. Neural Networks: Inspired by the human brain, these are networks of
algorithms that mimic the way neurons interact, allowing computers to
recognize patterns and solve common problems in the fields of AI, machine
learning, and deep learning.
3. Deep Learning: A subset of ML, deep learning uses complex neural networks
with many layers to analyze various factors of data.
4. Natural Language Processing (NLP): NLP involves programming computers
to process and analyze large amounts of natural language data, enabling
interactions between computers and humans using natural language.
5. Robotics: While often associated with AI, robotics merges AI concepts with
physical components to create machines capable of performing a variety of
tasks, from assembly lines to complex surgeries.
6. Cognitive Computing: This AI approach mimics human brain processes to
solve complex problems, often using pattern recognition, NLP, and data
mining.
7. Expert Systems: These are AI systems that emulate the decision-making
ability of a human expert, applying reasoning capabilities to reach conclusions.
AI works in five steps
Input: Data is collected from various sources. This data is then sorted into
categories.
Processing: The AI sorts and deciphers the data using patterns it has been
programmed to learn until it recognizes similar patterns in the data.
Outcomes: The AI can then use those patterns to predict outcomes.
Adjustments: If the data sets are considered as “fail,” AI learns from that
mistake, and the process is repeated again under different conditions.
Assessments: In this way, AI is constantly learning and improving.
Intelligent Agent
An agent can be anything that perceive its environment through sensors and act
upon that environment through actuators. An Agent runs in the cycle
of perceiving, thinking, and acting. An agent can be:
o Human-Agent: A human agent has eyes, ears, and other organs which work
for sensors and hand, legs, vocal tract work for actuators.
o Robotic Agent: A robotic agent can have cameras, infrared range finder,
NLP for sensors and various motors for actuators.
o Software Agent: Software agent can have keystrokes, file contents as
sensory input and act on those inputs and display output on the screen.
Sensor: Sensor is a device which detects the change in the environment and sends
the information to other electronic devices. An agent observes its environment
through sensors.
Actuators: Actuators are the component of machines that converts energy into
motion. The actuators are only responsible for moving and controlling a system.
An actuator can be an electric motor, gears, rails, etc.
Effectors: Effectors are the devices which affect the environment. Effectors can be
legs, wheels, arms, fingers, wings, fins, and display screen.
Structure of an AI Agent
To understand the structure of Intelligent Agents, we should be familiar
with Architecture and Agent programs. Architecture is the machinery that the
agent executes on. It is a device with sensors and actuators,
Types of Agents
Simple Reflex Agents
Model-Based
Based Reflex Agents
Goal-Based Agents
Utility-Based Agents
Learning Agent
Multi-agent systems
Hierarchical agents