What is a heuristic function, and where is it used?

The heuristic function is used in Informed Search, and it finds the most promising path. It takes the current state of the agent as its input and produces the estimation of how close the agent is from the goal. The heuristic method, however, might not always give the best solution, but it guaranteed to find … Read more

What is a Bayesian network, and why is it important in AI?

Bayesian networks are the graphical models that are used to show the probabilistic relationship between a set of variables. It is a directed cycle graph that contains multiple edges, and each edge represents a conditional dependency. Bayesian networks are probabilistic, because these networks are built from a probability distribution, and also use probability theory for … Read more

What is the inference engine, and why it is used in AI?

In artificial intelligence, the inference engine is the part of an intelligent system that derives new information from the knowledge base by applying some logical rules. It mainly works in two modes: Backward Chaining: It begins with the goal and proceeds backward to deduce the facts that support the goal. Forward Chaining: It starts with … Read more

Give the steps for A* algorithm?

A* algorithm is the popular form of the Best first search. It tries to find the shortest path using the heuristic function with the cost function to reach the end node. The steps for A* algorithms are given below: Step 1: Put the first node in the OPEN list. Step 2: Check if the OPEN … Read more

How can AI be used in fraud detection?

The artificial intelligence can be broadly helpful in fraud detection using different machine learning algorithms, such as supervised and unsupervised learning algorithms. The rule-based algorithms of Machine learning helps to analyze the patterns for any transaction and block the fraudulent transactions. Below are the steps used in fraud detection using machine learning: Data extraction: The … Read more