Home » Machine Learning/Artificial Intelligence

# Introduction to Fuzzy Logic | Artificial Intelligence

This article is about the **introductory part of Fuzzy Logic**. In this article, we are going to study about **what is meant by fuzzy logic?** How the inferences are drawn through it, why it should be used for this process, and how an agent makes decisions under uncertainty with the help of this Fuzzy Logic.

Submitted by Monika Sharma, on June 15, 2019

**Fuzzy Logic (FL)** is a method by which an expert system or any agent based on Artificial Intelligence performs reasoning under uncertain conditions. In this method, the reasoning is done in almost the same way as it is done in humans. It can be said that **Fuzzy Logic** imitates the way of reasoning and decision making in humans. In this method, all the possibilities between 0 and 1 are drawn.

For tackling any problem, the system takes precise information either as an input or from its Knowledge Base, and produces a definite output between 0 to 1, regarding whether the conventional logic block that represents the particular situation is true or false.

## Why Fuzzy Logic?

**Fuzzy Logic**is an effective and convenient way for representing the situation where the results are partially true or partially false instead of being completely true or completely false.- This method can very well imitate the human behavior of reasoning. Like humans, any system which uses this logic can make correct decisions in spite of all the uncertainty in its surrounding.
- There is a fully specified theory for this method, known as the
**Fuzzy Set Theory**. Based on this theory, we can easily train our system for solving almost all types of problems. - In the
**Fuzzy Set Theory**, the inference-making process and other concluding methods are well defined using algorithms which the agent or any computer system can easily understand. - The Agent in this method can handle situations like incomplete data, imprecise knowledge, etc.
- Complex Decision making can be easily performed by the systems that work on
**Fuzzy Logic**, that too by providing effective solutions to the problems. - The making and implementing the process of the
**Fuzzy set theory**is easy and understandable and hence is widely acceptable by many developers.

TOP Interview Coding Problems/Challenges

- Run-length encoding (find/print frequency of letters in a string)
- Sort an array of 0's, 1's and 2's in linear time complexity
- Checking Anagrams (check whether two string is anagrams or not)
- Relative sorting algorithm
- Finding subarray with given sum
- Find the level in a binary tree with given sum K
- Check whether a Binary Tree is BST (Binary Search Tree) or not
- 1[0]1 Pattern Count
- Capitalize first and last letter of each word in a line
- Print vertical sum of a binary tree
- Print Boundary Sum of a Binary Tree
- Reverse a single linked list
- Greedy Strategy to solve major algorithm problems
- Job sequencing problem
- Root to leaf Path Sum
- Exit Point in a Matrix
- Find length of loop in a linked list
- Toppers of Class
- Print All Nodes that don't have Sibling
- Transform to Sum Tree
- Shortest Source to Destination Path

Comments and Discussions

**Ad:**
Are you a blogger? Join our Blogging forum.