Fuzzy Logic | Introduction - GeeksforGeeks

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Fuzzy Logic | Introduction

Last Updated : 24 Jan, 2023

The term fuzzy refers to things that are not clear or are vague. In the real world
many times we encounter a situation when we can’t determine whether the state
is true or false, their fuzzy logic provides very valuable flexibility for reasoning. In
this way, we can consider the inaccuracies and uncertainties of any situation.

Fuzzy Logic is a form of many-valued logic in which the truth values of variables
may be any real number between 0 and 1, instead of just the traditional values of
true or false. It is used to deal with imprecise or uncertain information and is a
mathematical method for representing vagueness and uncertainty in decision-
making.

Fuzzy Logic is based on the idea that in many cases, the concept of true or false
is too restrictive, and that there are many shades of gray in between. It allows for
partial truths, where a statement can be partially true or false, rather than fully true
or false.

Fuzzy Logic is used in a wide range of applications, such as control systems,


image processing, natural language processing, medical diagnosis, and artificial
intelligence.

The fundamental concept of Fuzzy Logic is the membership function, which


defines the degree of membership of an input value to a certain set or category.
The membership function is a mapping from an input value to a membership
degree between 0 and 1, where 0 represents non-membership and 1 represents
full membership.

Fuzzy Logic is implemented using Fuzzy Rules, which are if-then statements that
express the relationship between input variables and output variables in a fuzzy
way. The output of a Fuzzy Logic system is a fuzzy set, which is a set of
membership degrees for each possible output value.
In summary,
Trending Now Fuzzy
DSA Logic
Web is a mathematical
Tech method for
Foundational Courses representing
Data vagueness
Science Practice Problem Python
and uncertainty in decision-making, it allows for partial truths, and it is used in a
wide range of applications. It is based on the concept of membership function and
the implementation is done using Fuzzy rules.

In the boolean system truth value, 1.0 represents the absolute truth value and 0.0
represents the absolute false value. But in the fuzzy system, there is no logic for
the absolute truth and absolute false value. But in fuzzy logic, there is an
intermediate value too present which is partially true and partially false.

ARCHITECTURE

Its Architecture contains four parts :

We use cookies to ensure you have the best browsing


experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy & Privacy Policy Cookies are not
collected in the GeeksforGeeks mobile applications.

Got It !

RULE BASE: It contains the set of rules and the IF-THEN conditions provided
by the experts to govern the decision-making system, on the basis of linguistic
information. Recent developments in fuzzy theory offer several effective
methods for the design and tuning of fuzzy controllers. Most of these
Read More

INTUIT
ifpurpose=="reduce
customerefforts":
print("Build
MLmodelswithGenAl.")

Aniruddha
Learnmore
SeniorDataScientist

Similar Reads

Fuzzy Logic | Set 2 (Classical and Fuzzy Sets)


Prerequisite : Fuzzy Logic | Introduction In this post, we will discuss
classical sets and fuzzy sets, their properties and operations that can be…
applied on them. Set: A set is defined as a collection of objects, which share
2 min read
certain characteristics. Classical set Classical set is a collection of distinct
objects. For example, a set of students pas

Fuzzy Logic Control System


Introduction: Fuzzy logic control (FLC) is the most active research area in
the application of fuzzy set theory, fuzzy reasoning, and fuzzy logic. The…
application
7 min read
of FLC extends from industrial process control to biomedical
instrumentation and securities. Compared to conventional control
techniques, FLC has been best utilized in complex ill-defined

Fuzzy Logic for Uncertainty Management in Machine Learning


Uncertainty in machine learning refers to the inherent unpredictability in
model predictions due to factors like data variability and model limitations.…
Fuzzy logic is a mathematical framework used to handle imprecise and
7 min read
uncertain information by allowing partial truth values between completely
true and completely false. Managing uncertainty in mac

Comparison Between Mamdani and Sugeno Fuzzy Inference…


Comparison Between Mamdani and Sugeno Fuzzy Inference…
System
Prerequisite: Fuzzy Logic | Introduction Fuzzy Inference System (FIS) is a
process to interpret the values of the input vector and, on the basis of so…
sets of fuzzy rules, it assigns corresponding values to the output vector.
3 min read
This is a method to map an input to an output using fuzzy logic. Based on
this mapping process, the system takes decisions

Common Operations on Fuzzy Set with Example and Code


What is Fuzzy Set ? Fuzzy refers to something that is unclear or vague .
Hence, Fuzzy Set is a Set where every key is associated with value, whic…
is between 0 to 1 based on the certainty .This value is often called as
6 min read
degree of membership. Fuzzy Set is denoted with a Tilde Sign on top of the
normal Set notation. Operations on Fuzzy Set with Code :

Difference Between Crisp Set and Fuzzy Set


Crisp Set: Countability and finiteness are identical properties which are the
collection objects of crisp set. 'X' is a crisp set defined as the group of…
elements present over the universal set i.e. U. In this case a random
2 min read
element is present that may be a part of X or not that means two ways are
possible to define the set. These are first element

ML | Fuzzy Clustering
Prerequisite: Clustering in Machine Learning Clustering is an unsupervised
machine learning technique that divides the given data into different clust…
based on their distances (similarity) from each other. The unsupervised k-
6 min read
means clustering algorithm gives the values of any point lying in some
particular cluster to be either as 0 or 1 i.e., eit

RTL (Register Transfer Level) design vs Sequential logic design


In this article we try to explain the fundamental differences between
Register Transfer Level (RTL) Design and Sequential Logic Design. In the…
RTL Design methodology different types of registers such as Counters, Shift
4 min read
Register, SIPO (Serial In Parallel Out), PISO (Parallel In Serial Out) are
used as the basic building blocks for any Sequential Log

Artificial Intelligence - Temporal Logic


Introduction: Temporal logic is a subfield of mathematical logic that deals
with reasoning about time and the temporal relationships between events.…
In artificial
7 min read
intelligence, temporal logic is used as a formal language to
describe and reason about the temporal behavior of systems and
processes. Temporal logic extends classical propositional and f

Adders and Subtractors in Digital Logic


Subtraction of two binary numbers can be accomplished by adding 2's
complement of the subtrahend to the minuend and disregarding the final…
complement of the subtrahend to the minuend and disregarding the final…
carry if any. If the MSB bit in the result of addition is a '0'. then the result of
4 min read
addition is the correct answer. If the MSB bit is a '1'. , this implies that the
answer has a negative sign. The true magnitude

Perceptron Algorithm for Logic Gate with 3-bit Binary Input


In the field of Machine Learning, the Perceptron is a Supervised Learning
Algorithm for binary classifiers. The Perceptron Model implements the…
following function: [Tex]\[\begin{array}{c}\hat{y}=\Theta\left(w_{1}
4 min read
x_{1}+w_{2} x_{2}+\ldots+w_{n} x_{n}+b\right) \\ =\Theta(\mathbf{w} \cdot
\mathbf{x}+b) \\ \text { where } \Theta(v)=\left\{\begin{array}

Business-Logic Layer
In this article, we are going to learn about the Business Logic Layer in
Database Management systems. The Business Logic Layer also known a…
BLL act as an intermediate between the Presentation Layer and the Data
4 min read
Access Layer (DAL). This layer handles the business logic, business rules
as well as calculations. It tells how the data from the database

Wired Logic in Digital Electronics


Wired logic is a type of digital logic where some logic operations are carried
out by directly coupling the outputs of a single or several logic gates. This…
approach is determined by the electrical properties of the gates involved. A
4 min read
logic gate that uses just passive components like diodes and resistors to
implement boolean algebra is known as a wi

Configuration Logic Block


This article will provide an overview of digital electronics and the
configuration logic block. It will cover the basics of digital circuits and how…
they work, as well as the different types of logic blocks that can be used to
4 min read
create more complex designs. The word digital has many definitions, most
of which are based on the concept of something tha

Discrete Mathematics - Applications of Propositional Logic


A proposition is an assertion, statement, or declarative sentence that can
either be true or false but not both. For example, the sentence "Ram went…
school." can either be true or false, but the case of both happening is not
11 min read
possible. So we can say, the sentence "Ram went to school." is a
proposition. But, the sentence "N is greater than 100" is

Two Level Implementation of Logic Gates


The term "two-level logic" refers to a logic design that uses no more than
two logic gates between input and output. This does not mean that the…
entire design will only have two logic gates, but it does mean that the single
10 min read
path from input to output will only have two logic gates. In two-level logic,
irrespective of the total number of logic gates,
Open-Collector Logic
An open-collector logic gate is a digital logic gate with an output terminal
that can be disconnected from its power supply. The open-collector output…
either connected to the ground or left open (disconnected), allowing the
7 min read
output voltage to be pulled low by a resistor. Open-collector outputs are
used for interfacing with other digital devices,

Emitter Coupled Logic


ECL (emitter-coupled logic) is a high-speed integrated circuit bipolar
transistor logic family in electronics. To avoid operating in the saturated…
(completely on) zone and its sluggish turn-off behavior, ECL employs an
10 min read
overdriven bipolar junction transistor (BJT) differential amplifier with a
single-ended input and a restricted emitter current. ECL

Difference between SOP and POS in Digital Logic


In digital logic, the inputs and output of a function are in the form of binary
numbers (Boolean values) i.e., the values are either zero (0) or one (1).…
Therefore, digital logic is also known as 'Boolean logic'. These inputs and
5 min read
output can be termed as 'Boolean Variables'. The output Boolean variable of
a digital signal can be expressed in terms o

Cryptography Introduction
Cryptography is the study and practice of techniques for secure
communication in the presence of third parties called adversaries. It deals…
with developing and analyzing protocols that prevents malicious third parties
4 min read
from retrieving information being shared between two entities thereby
following the various aspects of information security. Secure

Persistent Trie | Set 1 (Introduction)


Prerequisite: TriePersistency in Data Structure Trie is one handy data
structure that often comes into play when performing multiple string…
lookups. In this post, we will introduce the concept of Persistency in this
15+ min read
data structure. Persistency simply means to retain the changes. But
obviously, retaining the changes cause extra memory consumption an

Introduction to ANN | Set 4 (Network Architectures)


Prerequisites: Introduction to ANN | Set-1, Set-2, Set-3 An Artificial Neural
Network (ANN) is an information processing paradigm that is inspired by t…
brain. ANNs, like people, learn by examples. An ANN is configured for a
5 min read
specific application, such as pattern recognition or data classification,
through a learning process. Learning largely invol

Robotics Process Automation - An Introduction


Robotics Process Automation (RPA) is a useful and widely emerging
Robotics Process Automation (RPA) is a useful and widely emerging
technology in the business world nowadays. RPA is based on Machine…
Learning and Artificial Intelligence (AI) which uses various software robots
2 min read
to perform business-oriented tasks. Previously, in many organizations, the
large volume of data was handled by the humans themselves. But wi

Introduction to SAS programming


Statistical Analysis System (SAS) is a software suite that has been
developed by SAS Institute, one of the leaders in analytics. It is useful for…
performing
3 min read
advanced analytics, multivariate analyses, business intelligence,
data management functions, and also for conducting predictive analytics.
Use of SAS: SAS is used by many top organizations whic

Elasticsearch Search Engine | An introduction


Elasticsearch is a full-text search and analytics engine based on Apache
Lucene. Elasticsearch makes it easier to perform data aggregation…
operations on data from multiple sources and to perform unstructured
5 min read
queries such as Fuzzy Searches on the stored data. It stores data in a
document-like format, similar to how MongoDB does it. Data is serialize

Introduction to AWS Batch


Amazon Web Services is a subsidiary of Amazon.com that provides on-
demand cloud computing platforms to individuals, companies, and…
governments, on a paid subscription basis. What is Cloud Computing?
4 min read
Cloud computing is the on-demand delivery of compute power, database
storage, applications, and other IT resources through a cloud services
platform vi
Introduction to Smalltalk
Smalltalk is a general purpose object oriented programming language which
means that there are no primitives and control structures like a procedural…
language and in this only objects are communicated by the sending of
2 min read
messages and has its applications in almost every industries and every
possible domains. It was designed in early 1970's and initia

Introduction of Libra
Libra? No, we are not talking about your zodiac sign. If you have not heard
about libra, then there’s quite a possibility that you might have not heard…
about Cryptocurrencies either. To know about libra, let us begin with a few
4 min read
important aspects we need you to get familiar with. Firstly: What is
CryptoCurrency? Cryptocurrency is a digital currency/

Introduction to ROS (Robot Operating System)


Robot Operating System or simply ROS is a framework which is used by
hundreds of Companies and techies of various fields all across the globe i…
the4field of Robotics and Automation. It provides a painless entry point for
min read
nonprofessionals in the field of programming Robots. So first of all What is a
Introduction of Vault
HashiCorp's Vault is a very popular tool which is used to manage secrets
securely. Before understanding about Vault, we need to firstly understand…
what are secrets and why they need to be stored securely. Secret is
4 min read
anything that is used in authorization or authentication. For example,
usernames, passwords, DB credentials, API keys, etc. The problem

Article Tags : Computer Subject Technical Scripter fuzzy-logic

Corporate & Communications


Address:- A-143, 9th Floor, Sovereign
Corporate Tower, Sector- 136, Noida,
Uttar Pradesh (201305) | Registered
Address:- K 061, Tower K, Gulshan
Vivante Apartment, Sector 137, Noida,
Gautam Buddh Nagar, Uttar Pradesh,
201305

Company
About Us
Legal
Careers
In Media
Contact Us
Advertise with us
GFG Corporate Solution
Placement Training Program

Explore
Job-A-Thon Hiring Challenge
Hack-A-Thon
GfG Weekly Contest
Offline Classes (Delhi/NCR)
DSA in JAVA/C++
DSA in JAVA/C++
Master System Design
Master CP
GeeksforGeeks Videos
Geeks Community

Languages
Python
Java
C++
PHP
GoLang
SQL
R Language
Android Tutorial

DSA
Data Structures
Algorithms
DSA for Beginners
Basic DSA Problems
DSA Roadmap
DSA Interview Questions
Competitive Programming

Data Science & ML


Data Science With Python
Data Science For Beginner
Machine Learning
ML Maths
Data Visualisation
Pandas
NumPy
NLP
Deep Learning

Web Technologies
HTML
CSS
JavaScript
TypeScript
ReactJS
NextJS
NodeJs
Bootstrap
Tailwind CSS
Python Tutorial
Python Programming Examples
Django Tutorial
Python Projects
Python Tkinter
Web Scraping
OpenCV Tutorial
Python Interview Question

Computer Science
GATE CS Notes
Operating Systems
Computer Network
Database Management System
Software Engineering
Digital Logic Design
Engineering Maths

DevOps
Git
AWS
Docker
Kubernetes
Azure
GCP
DevOps Roadmap

System Design
High Level Design
Low Level Design
UML Diagrams
Interview Guide
Design Patterns
OOAD
System Design Bootcamp
Interview Questions

School Subjects
Mathematics
Physics
Chemistry
Biology
Social Science
English Grammar

Commerce
Commerce
Accountancy
Business Studies
Economics
Management
HR Management
Finance
Income Tax

Databases
SQL
MYSQL
PostgreSQL
PL/SQL
MongoDB

Preparation Corner
Company-Wise Recruitment Process
Resume Templates
Aptitude Preparation
Puzzles
Company-Wise Preparation
Companies
Colleges

Competitive Exams
JEE Advanced
UGC NET
UPSC
SSC CGL
SBI PO
SBI Clerk
IBPS PO
IBPS Clerk

More Tutorials
Software Development
Software Testing
Product Management
Project Management
Linux
Excel
All Cheat Sheets
Recent Articles

Free Online Tools


Typing Test
Image Editor
Code Formatters
Code Converters
Currency Converter
Random Number Generator
Random Password Generator

Write & Earn


Write an Article
Improve an Article
Pick Topics to Write
Share your Experiences
Internships

@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved

You might also like