The Inference Engine uses the following strategies to recommend solutions:
- Forward Chaining
- Backward Chaining
With this strategy, an expert system is able to answer the question “What can happen next?”
By following a chain of conditions and derivations, the expert system deduces the outcome after considering all facts and rules. It then sorts them before arriving at a conclusion in terms of the suitable solution.
This strategy is followed while working on conclusion, result, or effect. For example, predicting how does the share market prediction of share market will react to the changes in the interest rates.
Backward chaining is used by an expert system to answer the question “Why did this happen?”
Depending upon what has already occurred, the inference engine tries to identify the conditions that could have happened in the past to trigger the final result. This strategy is used to find the cause or the reason behind something happening. For example, the diagnosis of different types of cancer in humans.