Docsity

Fundamentals of Artificial Intelligence for Software Engineering: Introduction, Exams of Software Engineering

Partial preview of the text

Download Fundamentals of Artificial Intelligence for Software Engineering: Introduction and more Exams Software Engineering in PDF only on Docsity!

Fundamental of Artificial

Intelligence for SWENG.

Chapter 1- Introduction

By Jara M. (2022)

Content

Introduction AI-Definitions

Foundations of AI Time Machine for AI Development

State of the Art

Why AI? AI Today

AI-Definitions

AI-Definitions…

Thinking Humanly Thinking Rationally

Acting Humanly Acting Rationally

Success[Thinking & Acting Humanly]

Thought Process and Reasoning

Behavior

Rationality [Thinking & Acting Humanly]

A system is rational if it does a right thing

AI-Definitions…

Acting humanly: The Turing Test approach…

Turing defined intelligent behavior as the ability to

achieve human-level performance in all cognitive tasks,

sufficient to fool an interrogator

Turing test

The computer should be interrogated by a human via a teletype, and passes the test if the interrogator cannot tell if there is a computer or a human at the other end.

AI-Definitions…

Acting humanly: The Turing Test approach…

For a computer- to pass a rigorously applied test, it

needs to possess the following capabilities:

Natural Language Processing (NLP)- to enable it to communicate successfully in human Language Knowledge representation-to store info. Provided before & after interrogation  (^) Automated reasoning-to use stored info. for answer quest & draw new conclusion  (^) Machine learning-adapting new circumstance nd detect new pattern Computer Vision- to perceive objects Robotics- to move them about Turing Test Total Turing Test Disciplines of Al

AI-Definitions…

Thinking humanly: The cognitive modeling approach  Cognitive Science and AI continue to fertilize each other, especially in the areas of ;  (^) Computer Vision-detecting object(Visualization)

natural language, and

Learning

GPS (General Problem Solver) was an early

computer program that attempted to model

human thinking.

AI-Definitions…

Thinking rationally: The "laws of thought" approach

Codifying "right thinking" (Aristotle was the 1st )

 (^) The syllogisms provided patterns for argument structures that always yield correct conclusions when given correct premises " All computers use energy. Using energy always generates heat. Therefore, all computers generate heat."

This law were supposed to govern the operation of the mind & thus, the field logic is initiated Logicians developed a precise notation for statements about all kinds (19th^ and 20thcentury).  (^) By 1965, programs existed that could, in principle, solve any solvable problem described in logical notation. (Although if no solution exists, the program might loop forever.)

AI-Definitions…

Acting rationally: The rational agent approach

Agent –something that perceive & acts.

Operate autonomously, perceive their environment, persist over a prolonged time period, adapt to change, and create and pursue goals.

Rational Agent

A rational agent is one that acts so as to achieve the best outcome or, when there is uncertainty, the best expected outcome. Laws of Thought Rational Agent Correct Inference

AI-Definitions…

Acting rationally: The rational agent approach… Correct inference is not all of rationality Reflex action: Acting rationally without involving inference All the skills needed for the Turing Test also allow an agent to act rationally

The Study of AI as rational-agent approach has Two

advantageous

 (^) It is more general than the "laws of thought" approach because correct inference is just one of several possible mechanisms for achieving rationality It is more amenable to scientific development than approaches based on human behavior or human thought, because the standard of rationality is clearly defined and completely general.

Time Machine for AI Developments

1943 McCulloch & Pitts: Boolean circuit model of brain

1950 Turing's "Computing Machinery and Intelligence“

1956 Dartmouth meeting: "Artificial Intelligence" adopted (the name itself was coined)

1952—69 Look, Ma, no hands!

1950s Early AI programs (Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine)

Time Machine for AI Developments…

1965 Robinson's complete algorithm for logical reasoning

1966—73 AI discovers computational complexity Neural network research almost disappears

1969—79 Early development of knowledge based systems

1980-- AI becomes an industry

State of the Art

Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997

Proved a mathematical conjecture (Robbins conjecture) unsolved for decades  (^) No hands across America (driving autonomously 98% of the time from Pittsburgh to San Diego)

During the 1991 Gulf War, US forces deployed an AI logistics planning and scheduling program that involved up to 50,000 vehicles, cargo, and people  (^) NASA's on-board autonomous planning program controlled the scheduling of operations for a spacecraft  (^) Proverb solves crossword puzzles better than most humans

State of the Art…