AI mod 1 Flashcards

1
Q

Definition of AI

A

Artificial Intelligence is composed of two words Artificial and Intelligence, where Artificial defines “man-made,” and intelligence defines “thinking power”, hence AI means “a man-made thinking power.”

So, we can define AI as:

“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 exists when a machine can have human based skills such as learning, reasoning, and solving problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are AI techniques ?

A

AI technique is a method that achieves knowledge. The main AI techniques are:

Search
Use of knowledge
Abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is search AI technique ?

A

Search provides a way of solving problems for which no more direct approach is available as well as a framework into which any direct techniques that are available can be embedded. A search program finds a solutions for a problem by trying various sequences of actions or operators until a solution is found.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which AI technique is the best to solve a problem ?

A

Search AI technique. it is one of the advantage of the search technique.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what should be done to implement search AI technique ?

A

To solve a problem using search, it is only necessary to code the operator that can be used; the search will find the sequence of actions that will provide the desired results.

It is one of the advantage of the search AI technique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the disadvantage of search AI technique ?

A

Most problems have search spaces so large that it is impossible to search for the whole space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is abstraction AI technique ?

A

Abstraction finds a way of separating important features and notifications from the unimportant ones that would otherwise confuse any process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is use of knowledge AI technique ?

A

Provides a way of solving complex problems by exploiting the structure of the objects that are involved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Definition of state space search

A

A state space represents a problem in terms of states and operators that change states.
A state space consists of:
1- A representation of the states the system can be in. For example, in a
board game, the board represents the current state of the game.
2-A set of operators that can change one state into another state. In a board
game, the operators are the legal moves from any given state. Often the
operators are represented as programs that change a state representation to
represent the new state.
3- An initial state.
4- A set of final states; some of these may be desirable, others undesirable.
This set is often represented implicitly by a program that detects terminal
states.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is state in state space search ?

A

A representation of the states the system can be in. For example, in a
board game, the board represents the current state of the game.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an operator in state space search

A

A set of operators that can change one state into another state. In a board
game, the operators are the legal moves from any given state. Often the
operators are represented as programs that change a state representation to
represent the new state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is informed search ?

A

Informed Search: Informed Search algorithms have information on the goal state which helps in more efficient searching. This information is obtained by a function that estimates how close a state is to the goal state.
Example: Greedy Search and Graph Search A* Search

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is uninformed search ?

A

Uninformed Search: Uninformed search algorithms have no additional information on the goal node other than the one provided in the problem definition. The plans to reach the goal state from the start state differ only by the order and length of actions.
Examples: Depth First Search and Breadth-First Search

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Informed and uninformed search

Which technique uses knowledge for the searching process.

A

Informed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Informed and uninformed search

Which technique uses knowledge for the searching process.

A

Informed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Informed and uninformed search

Which technique finds solution more quickly ?

A

Informed

17
Q

Informed and uninformed search

Which technique gets always completed ?

A

uninformed

Informed may or may not be complete.

18
Q

Informed and uninformed search

Which technique has high cost?

A

uninformed

19
Q

Basic definition of hill climbing algorithm

A

Hill climbing algorithm is a local search algorithm which continuously moves in the direction of increasing elevation/value to find the peak of the mountain or best solution to the problem. It terminates when it reaches a peak value where no neighbor has a higher value.

20
Q

Give an good example for hill climbing algorithm

A

Hill climbing algorithm is a technique which is used for optimizing the mathematical problems. One of the widely discussed examples of Hill climbing algorithm is Traveling-salesman Problem in which we need to minimize the distance traveled by the salesman.

21
Q

What is the generate and test variant feature of hill climbing algorithm ?

A

Hill Climbing is the variant of Generate and Test method. The Generate and Test method produce feedback which helps to decide which direction to move in the search space.

22
Q

Is hill climbing utilizes the greedy approach ?

A

Greedy approach: Hill-climbing algorithm search moves in the direction which optimizes the cost.

23
Q

Does backtracking happens in hill climbing algorithm ?

A

No backtracking: It does not backtrack the search space, as it does not remember the previous states.

24
Q

State-space Diagram for Hill Climbing:

A

The state-space landscape is a graphical representation of the hill-climbing algorithm which is showing a graph between various states of algorithm and Objective function/Cost.

On Y-axis we have taken the function which can be an objective function or cost function, and state-space on the x-axis. If the function on Y-axis is cost then, the goal of search is to find the global minimum and local minimum. If the function of Y-axis is Objective function, then the goal of the search is to find the global maximum and local maximum.

https://www.javatpoint.com/hill-climbing-algorithm-in-ai

25
Q

Brief definition of best first search

A

If we consider searching as a form of traversal in a graph, an uninformed search algorithm would blindly traverse to the next node in a given manner without considering the cost associated with that step. An informed search, like Best first search, on the other hand would use an evaluation function to decide which among the various available nodes is the most promising (or ‘BEST’) before traversing to that node.
The Best first search uses the concept of a Priority queue and heuristic search. To search the graph space, the BFS method uses two lists for tracking the traversal. An ‘Open’ list which keeps track of the current ‘immediate’ nodes available for traversal and ‘CLOSED’ list that keeps track of the nodes already traversed.

26
Q

Time complexity for best first search

A

This algorithm will traverse the shortest path first in the queue. The time complexity of the algorithm is given by O(n*logn) .

27
Q

Advantages of best first search ?

A
  1. Can switch between BFS and DFS, thus gaining the advantages of both.
  2. More efficient when compared to DFS.
28
Q

Disadvantages of best first search ?

A
  1. Chances of getting stuck in a loop are higher.
29
Q

Brief definition of means end analysis

A

We have studied the strategies which can reason either in forward or backward, but a mixture of the two directions is appropriate for solving a complex and large problem. Such a mixed strategy, make it possible that first to solve the major part of a problem and then go back and solve the small problems arise during combining the big parts of the problem. Such a technique is called Means-Ends Analysis.

30
Q

Which technique is a mixture of Backward and forward search technique.

A

Means end analysis

31
Q

How means-ends analysis Works:

A

The means-ends analysis process can be applied recursively for a problem. It is a strategy to control search in problem-solving. Following are the main Steps which describes the working of MEA technique for solving a problem.

First, evaluate the difference between Initial State and final State.
Select the various operators which can be applied for each difference.
Apply the operator at each difference, which reduces the difference between the current state and goal state.