Unit-1 AI
Unit-1 AI
Year 1997: In the year 1997, IBM Deep Blue beats world chess champion,
Gary Kasparov, and became the first computer to beat a world chess
champion.
Year 2002: for the first time, AI entered the home in the form of Roomba,
a vacuum cleaner.
Year 2006: AI came in the Business world till the year 2006. Companies like
Facebook, Twitter, and Netflix also started using AI.
2. Summarize the features regarding the Nature of Environments
and Structure of Agents.
Structure of Intelligent Agents:
Agent’s structure can be viewed as –
a. Agent = Architecture + Agent Program
b. Architecture = The machinery that an agent executes on.
c. Agent Program = an implementation of an agent
function. The Nature of Environments:
Some programs operate in the entirely artificial environment confined to
keyboard input, database, computer file systems and character output on a
screen.
In contrast, some software agents exist in rich, unlimited softbots domains.
The simulator has a very detailed, complex environment. The software
agents needs to choose from a long array of actions in real time. A softbot
designed to scan the online preferences of the customer and show
interesting items to the customer works in the real as well as an artificial
environment.
The most famous artificial environment is the Turing Test environment, in
which one real and other artificial agents are tested on equal ground. This is
very challenging environment as it is highly for a software agent to perform
as well as a human.
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 text. Out of
the two persons, one plays the role of the tested. Each of them sits in
different rooms. The tester is unaware of 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.
3. Outline the properties of DFS and BFS Algorithms.
Parameters BFS DFS
Stands for Breadth First Search Depth First Search
Data Structure Uses Queue data Uses Stack data
structure for finding structure.
the shortest path.
Definition Traversal approach in Traversal approach in
which we first walk which traverse begins
through all nodes on at the root node and
the same level before proceeds through the
moving on to the next nodes as far as
level possible until we reach
the node with no
unvisited nearby nodes.
Technique Find a single source Traverse through more
shortest path in an edges to reach a
unweighted graph destination vertex
because, in BFS, we from a source.
reach a vertex with a
minimum number of
Long Questions
On the basis of the problem and their working domain, different types of
problem-solving agent defined and use at an atomic level without any
internal state visible with a problem-solving algorithm. The problem-solving
agent performs precisely by defining problems and several solution. So we
can say that problem solving is a part of artificial intelligence that
encompasses a number of techniques such as a tree, B-tree, heuristic
algorithms to solve a problem.
We can also that a problem-solving agent is a result-driven agent and always
focuses on satisfying the goals.
Steps problem-solving in AI:
The problem of AI is directly associated with the nature of humans
and their activities. So we need a number of finite steps to solve a
problem which makes human easy works.
These are the following steps which require to solve a problem:
- Goal Formulation: This one is the first and simple step in problem-
solving. It organized finite steps to formulate a target/goals which
require some action to achieve the goal. Today the formulation of
the goal is based on AI agents.
- Problem formulation: It is one of the core steps of problem-solving
which decides what action should be taken to achieve the
formulated goal. In AI this core part is dependent upon software
agent which consisted of the following components to formulate the
associated problem.
Components to formulate the associated problem:
- Initial State: This state requires an initial state for the problem which
starts the AI agent towards a specified goal. In this state new methods
also initialize problem domain solving by a specific class.
- Action: This stage of problem formulation works with function with a
specific class taken from the initial state and all possible actions done in
this stage.
- Transition: This stage of problem formulation integrates the actual
action done by the previous action stage and collects the final stage to
forward it to their next stage.
- Goal test: This stage determines that the specified goal achieved by
the integrated transition model or not, whenever the goal achieves stop
the action and forward into the next stage to determines the cost to
achieve the goal.
- Path costing: This component of problem-solving numerical assigned
what will be the cost to achieve the goal. It requires all hardware
software and human working cost.
5. Explain the various Search Strategies and with a suitable
example.
Depth First Search:
Depth-first search (DFS) is an algorithm for traversing or searching tree
or graph data structures. The algorithm starts at the root node and
explores as far as possible along each branch backtracking. It uses last
in-first-out strategy and hence it is implementing using a stack.
Time Complexity: Equivalent to the number of nodes traversed in DFS
2 3 d d
T(n) = 1 + n + n + . . . + n = O(n )
need.