Artificial Intelligence C 1&2
Artificial Intelligence C 1&2
AI is accomplished by studying how human brain thinks, and how humans learn, decide,
and work while trying to solve a problem, and then using the outcomes of this study as
a basis of developing intelligent software and systems.
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 1
Intro to Artificial Intelligence C o S c -3112 2022
Gaming − AI plays crucial role in strategic games such as chess, poker, tic-tac-toe, etc.,
where machine can think of large number of possible positions based on heuristic
knowledge.
Expert Systems − There are some applications which integrate machine, software, and
special information to impart reasoning and advising. They provide explanation and
advice to the users.
Vision Systems − These systems understand, interpret, and comprehend visual input
on the computer. For example,
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 2
Intro to Artificial Intelligence C o S c -3112 2022
A spying aeroplane takes photographs, which are used to figure out spatial
information or map of the areas.
Police use computer software that can recognize the face of criminal with the
stored portrait made by forensic artist.
Intelligent Robots − Robots are able to perform the tasks given by a human. They
have sensors to detect physical data from the real world such as light, heat,
temperature, movement, sound, bump, and pressure. They have efficient processors,
multiple sensors and huge memory, to exhibit intelligence. In addition, they are
capable of learning from their mistakes and they can adapt to the new environment.
In simple words, it is developed to make human life easy in different aspects and perform
enormous works with more accuracy. It has become an intelligent part of today’s
industry which is crucial as data is growing Big. It can perform tasks such as identifying
patterns in data more effectively than humans thus making business more profitable.
Knowledge Engineering and Machine learning is a core part of AI. Some of the objectives
of AI are:
Know the three areas of research of AI, and give examples of problems from
each area.
Understand in a general way how a neural network is designed and trained.
Know the components of a formal system.
Understand how depth first, breadth first, and bi-directional searches are
performed.
Use evaluation functions to expedite the search process.
Programming a computer to act like a human is a difficult task and requires that the
computer system be able to understand and process commands in natural language, store
knowledge, retrieve and process that knowledge in order to derive conclusions and
make decisions, learn to adapt to new situations, perceive objects through computer
vision, and have robotic capabilities to move and manipulate objects. Although this
approach was inspired by the Turing Test, most programs have been developed with the
goal of enabling computers to interact with humans in a natural way rather than passing
the Turing Test.
The Turing Test is used as a theoretical standard to determine whether a human judge
can distinguish via a conversation with one machine and one human which a human is
and which is a machine. If a machine can trick the human judge into thinking it is human
then it passes the Turing Test
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 4
Intro to Artificial Intelligence C o S c -3112 2022
1.7 What are the advantages and disadvantages of artificial intelligence?
Artificial neural networks and deep learning artificial intelligence technologies are quickly evolving,
primarily because AI processes large amounts of data much faster and makes predictions more accurately
than humanly possible.
While the huge volume of data being created on a daily basis would bury a human researcher, AI
applications that use machine learning can take that data and quickly turn it into actionable information.
As of this writing, the primary disadvantage of using AI is that it is expensive to process the large amounts
of data that AI programming requires.
Advantages
Disadvantages
Expensive;
Weak AI, also known as narrow AI, is an AI system that is designed and trained to complete a specific
task. Industrial robots and virtual personal assistants, such as Apple's Siri, use weak AI.
Strong AI, also known as artificial general intelligence (AGI), describes programming that can replicate
the cognitive abilities of the human brain. When presented with an unfamiliar task, a strong AI system
can use fuzzy logic to apply knowledge from one domain to another and find a solution
autonomously. In theory, a strong AI program should be able to pass both a Turing Test and the
Chinese room test.
Type 2: Limited memory. These AI systems have memory, so they can use past experiences to inform
future decisions. Some of the decision-making functions in self-driving cars are designed this way.
Type 3: Theory of mind. Theory of mind is a psychology term. When applied to AI, it means that the
system would have the social intelligence to understand emotions. This type of AI will be able to infer
human intentions and predict behavior, a necessary skill for AI systems to become integral members of
human teams.
Type 4: Self-awareness. In this category, AI systems have a sense of self, which gives them
consciousness. Machines with self-awareness understand their own current state. This type of AI does
not yet exist.
Automation. When paired with AI technologies, automation tools can expand the volume and types
of tasks performed. An example is robotic process automation (RPA), a type of software that
automates repetitive, rules-based data processing tasks traditionally done by humans. When combined
with machine learning and emerging AI tools, RPA can automate bigger portions of enterprise jobs,
enabling RPA's tactical bots to pass along intelligence from AI and respond to process changes.
Machine learning. This is the science of getting a computer to act without programming. Deep learning
is a subset of machine learning that, in very simple terms, can be thought of as the automation of
predictive analytics. There are three types of machine learning algorithms:
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 6
Intro to Artificial Intelligence C o S c -3112 2022
o Supervised learning. Data sets are labeled so that patterns can be detected and used to label new
data sets.
o Unsupervised learning. Data sets aren't labeled and are sorted according to similarities or
differences.
o Reinforcement learning. Data sets aren't labeled but, after performing an action or several actions,
the AI system is given feedback.
Machine vision. This technology gives a machine the ability to see. Machine vision captures and
analyzes visual information using a camera, analog-to-digital conversion and digital signal processing. It
is often compared to human eyesight, but machine vision isn't bound by biology and can be
programmed to see through walls, for example. It is used in a range of applications from signature
identification to medical image analysis. Computer vision, which is focused on machine-based image
processing, is often conflated with machine vision.
Natural language processing (NLP). This is the processing of human language by a computer program.
One of the older and best-known examples of NLP is spam detection, which looks at the subject line
and text of an email and decides if it's junk. Current approaches to NLP are based on machine learning.
NLP tasks include text translation, sentiment analysis and speech recognition.
Robotics. This field of engineering focuses on the design and manufacturing of robots. Robots are
often used to perform tasks that are difficult for humans to perform or perform consistently. For
example, robots are used in assembly lines for car production or by NASA to move large objects in
space. Researchers are also using machine learning to build robots that can interact in social settings.
Self-driving cars. Autonomous vehicles use a combination of computer vision, image recognition and
deep learning to build automated skill at piloting a vehicle while staying in a given lane and avoiding
unexpected obstructions, such as pedestrians.
Karel Čapek play named “Rossum's Universal Robots” (RUR) opens in London,
1923
first use of the word "robot" in English.
1945 Isaac Asimov, a Columbia University alumni, coined the term Robotics.
The Assembly Robotics group at Edinburgh University built Freddy, the Famous
1973 Scottish Robot, capable of using vision to locate and assemble models.
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 8
Intro to Artificial Intelligence C o S c -3112 2022
The Deep Blue Chess Program beats the then world chess champion, Garry
1997 Kasparov.
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 9
Intro to Artificial Intelligence C o S c -3112 2022
1.10 The applications of AI
Artificial intelligence has made its way into a wide variety of markets. Here are nine examples.
AI in healthcare. The biggest bets are on improving patient outcomes and reducing costs. Companies are
applying machine learning to make better and faster diagnoses than humans. One of the best-known
healthcare technologies is IBM Watson. It understands natural language and can respond to questions asked
of it. The system mines patient data and other available data sources to form a hypothesis, which it then
presents with a confidence scoring schema. Other AI applications include using online virtual health
assistants and chatbots to help patients and healthcare customers find medical information, schedule
appointments, understand the billing process and complete other administrative processes. An array of AI
technologies is also being used to predict, fight and understand pandemics such as COVID-19.
AI in business. Machine learning algorithms are being integrated into analytics and customer relationship
management (CRM) platforms to uncover information on how to better serve customers. Chatbots have
been incorporated into websites to provide immediate service to customers. Automation of job positions
has also become a talking point among academics and IT analysts.
AI in education. AI can automate grading, giving educators more time. It can assess students and adapt to
their needs, helping them work at their own pace. AI tutors can provide additional support to students,
ensuring they stay on track. And it could change where and how students learn, perhaps even replacing
some teachers.
AI in finance. AI in personal finance applications, such as Intuit Mint or TurboTax, is disrupting financial
institutions. Applications such as these collect personal data and provide financial advice. Other programs,
such as IBM Watson, have been applied to the process of buying a home. Today, artificial
intelligence software performs much of the trading on Wall Street.
AI in law. The discovery process -- sifting through documents -- in law is often overwhelming for humans.
Using AI to help automate the legal industry's labor-intensive processes is saving time and improving client
service. Law firms are using machine learning to describe data and predict outcomes, computer vision to
classify and extract information from documents and natural language processing to interpret requests for
information.
AI in manufacturing. Manufacturing has been at the forefront of incorporating robots into the workflow.
For example, the industrial robots that were at one time programmed to perform single tasks and
separated from human workers, increasingly function as cobots: Smaller, multitasking robots that
collaborate with humans and take on responsibility for more parts of the job in warehouses, factory floors
and other workspaces.
AI in banking. Banks are successfully employing chatbots to make their customers aware of services and
offerings and to handle transactions that don't require human intervention. AI virtual assistants are being
used to improve and cut the costs of compliance with banking regulations. Banking organizations are also
using AI to improve their decision-making for loans, and to set credit limits and identify investment
opportunities.
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 10
Intro to Artificial Intelligence C o S c -3112 2022
AI in transportation. In addition to AI's fundamental role in operating autonomous vehicles, AI
technologies are used in transportation to manage traffic, predict flight delays, and make ocean shipping
safer and more efficient.
Security. AI and machine learning are at the top of the buzzword list security vendors use today to
differentiate their offerings. Those terms also represent truly viable technologies. Organizations use machine
learning in security information and event management (SIEM) software and related areas to detect
anomalies and identify suspicious activities that indicate threats. By analyzing data and using logic to
identify similarities to known malicious code, AI can provide alerts to new and emerging attacks much
sooner than human employees and previous technology iterations. The maturing technology is playing a
big role in helping organizations fight off cyber-attacks.
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 11
Intro to Artificial Intelligence C o S c -3112 2022
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 12
Intro to Artificial Intelligence C o S c -3112 2022
Agent Rationality
Rationality is nothing but status of being reasonable, sensible, and having good sense of
judgment.
Rationality is concerned with expected actions and results depending upon what the
agent has perceived. Performing actions with the aim of obtaining useful information is
an important part of rationality.
A rational agent always performs right action, where the right action means the action
that causes the agent to be most successful in the given percept sequence. The problem
the agent solves is characterized by Performance Measure, Environment, Actuators, and
Sensors (PEAS).
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 13
Intro to Artificial Intelligence C o S c -3112 2022
Types of Agents
Agents can be grouped into four classes based on their degree of perceived intelligence
and capability:
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 14
Intro to Artificial Intelligence C o S c -3112 2022
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 15
Intro to Artificial Intelligence C o S c -3112 2022
There are conflicting goals, out of which only few can be achieved.
Goals have some uncertainty of being achieved and you need to weigh
likelihood of success against the importance of a goal.
Turing Test
The success of an intelligent behavior of a system can be measured with Turing Test.
Two persons and a machine to be evaluated participate in the test. Out of the two
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 17
Intro to Artificial Intelligence C o S c -3112 2022
persons, one plays the role of the tester. Each of them sits in different rooms. The
tester is unaware of who is machine and who is a human. He interrogates the questions
by typing and sending them to both intelligences, to which he receives typed responses.
This test aims at fooling the tester. If the tester fails to determine machine’s response
from the human response, then the machine is said to be intelligent.
Properties of Environment
The environment has multifold properties:
Static / Dynamic − If the environment does not change while an agent is acting,
then it is static; otherwise it is dynamic.
Single agent / Multiple agents − The environment may contain other agents
which may be of the same or different kind as that of the agent.
Accessible / Inaccessible − If the agent’s sensory apparatus can have access to the
complete state of the environment, then the environment is accessible to that
agent.
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 18
Intro to Artificial Intelligence C o S c -3112 2022
Sha
Mengistu Estifanos | Department of Computer Science JKU Page 19