Questions tagged [fuzzy-logic]

Fuzzy logic is logic handling uncertainty by using as truth values a real number between 0 and 1 to represent less or more certainty about a variable. Fuzzy operators similarly work with degrees of truth.

What is it?

Fuzzy logic is logic handling uncertainty by using as truth values a real number between 0 and 1 to represent less or more certainty about a variable. It is a form of many-valued logic. Fuzzy operators similarly work with degrees of truth.

How does it work?

Fuzzy logic deals with reasoning that is approximate rather than fixed and exact. In contrast with traditional logic theory, where binary sets have two-valued logic: true or false, fuzzy logic variables may have a truth value that ranges in degree between 0 and 1. Fuzzy logic has been extended to handle the concept of partial truth, where the truth value may range between completely true and completely false.

The reasoning in fuzzy logic is similar to human reasoning. It allows for approximate values and inferences as well as incomplete or ambiguous data (fuzzy data) as opposed to only relying on crisp data (binary yes/no choices). Fuzzy logic is able to process incomplete data and provide approximate solutions to problems other methods find difficult to solve.

In traditional logic, an answer is either black or white. Using fuzzy logic, the answer could be white, black or any variation of grey.

Related tags

Useful links

419 questions
0
votes
1 answer

Artificial Intelligence - Fuzzy Systems

I have some practice exam questions and answers which are as follows: However, I am unsure as to why the solution to question 1 (highlighted) begins with 1-... - could somebody please explain this? Do all NOT / ¬ solutions begin with 1-... and if…
Mus
  • 7,290
  • 24
  • 86
  • 130
-1
votes
1 answer

Fuzzy Match 2 SQL columns with similar concatenated values. However, the rows are not lined up in an ideal manner

I want to preface this by saying I am new to SQL. I have been tasked with trying to find the fuzzy match score of two columns. This will help my team discover which data is still relevant and which data is outdated (as the fuzzy match will not…
-1
votes
1 answer

Error in my Python code doing fuzzy logic

The following is the code to solve fuzzy logic, I tried to make from fuzzy control system (scikit fuzzy liberary) but I am facing error ValueError: Unexpected input: temprature import numpy as np import skfuzzy as fuzz from skfuzzy import control as…
Mrr Ahmer
  • 13
  • 3
-1
votes
1 answer

Identify similar names in same row, then choose Mode

My data includes a Name column. Some names are written in upto eight different ways. I tried grouping them with the following code: groups <- list() i <- 1 while(length(x) > 0) { id <- agrep(x[1], x, ignore.case = TRUE, max.distance = 0.1) …
-1
votes
2 answers

Invalid syntax for format

Python 3.4 gives error to this statement. This is o print the cartesian product for fuzzy logic operations. print(f'The size of the relation will be: {len(self)}x{len(other)}') I'm trying to perform the union, intersection and difference…
Harshad
  • 1
  • 2
-1
votes
1 answer

How can I set if-and-or-then rule in MATLAB's FIS Editor?

I want to set a rule using Matlab FIS EDITOR (Fuzzy Logic Toolbox) which is of the following form: if ....... AND ...... OR ...... THEN ...... How can I set such a rule using Rule Viewer in Matlab? P.S: I am not satisfied with the help…
Jamal Zafar
  • 2,179
  • 2
  • 27
  • 32
-1
votes
2 answers

Error in attr(x, "memberships") <- value : attempt to set an attribute on NULL

I am trying to implement fuzzy logic for classifying the weather into different climatic zone. I am getting this Null exception when I call fuzzy_inference() function of sets package in RStudio. The following is my code defining sets and fuzzy…
-1
votes
1 answer

Convert probabilities to a score

I have a project to measure the sentiment level of a customer as 0 (happy), 1 (neutral), 2(unhappy) from the text data supplied by customer comments. I have trained a classifier model on tensorflow and it predicts the sentiment level of a new…
-1
votes
2 answers

How to perform fuzzy clustering method on Qualitative Bankruptcy dataset

We are required to build a fuzzy system with MATLAB on Qualitative_Bankruptcy Data Set and we were advised to implement Fuzzy Clustering Method on it. There are 7 attributes (6+1) on the dataset (250 instances) and each independent attribute has 3…
Rex Low
  • 2,069
  • 2
  • 18
  • 47
-1
votes
1 answer

PHP RAND and fuzzy logic rules

Well, let's say I have variable a, b and c: a = R R R b = S S S c = T T T number = 1 to 3; In my case I need to display the 27 row of total (var * var * var), but the result need to be like this and generate random number between 1 to 3:…
M Ansyori
  • 429
  • 6
  • 21
-1
votes
1 answer

SQL/SAS fuzzy Logic on integer variable

My goal is to write some SQL code or use the SAS query builder that will perform a fuzzy logic search on an numeric variable. As an example; the image below has two variables. The first variable is a concatenation of several different variables.…
Paul
  • 33
  • 6
-1
votes
1 answer

What is difference between type 1 and type 2 fuzzy logics?

I have been trying to understand the difference between two types of fuzzy logic, i.e., Type I and Type II. I have seen lot of tutorials on the internet, but they are using complicated graphs and equations to explain the difference and I am unable…
-1
votes
1 answer

Performing fuzzy matching

In my requirement i need to match names from table to another table. Source table might contain names as Tony, Bill, Rob Target Table might contain names as Anthony, William, Robert Basically source table may contain nick/short names. Is there any…
Rachit Agrawal
  • 685
  • 4
  • 13
  • 35
-1
votes
1 answer

How to use Simulink to output to real time microcontroller

I want to design a system that has to read some values from sensors through Arduino microcontroller using Matlab. I want to use the simulink inputs as the sensors and the output to the motors, I wrote an app to do that on Arduino, and also I wrote…
-1
votes
2 answers

C# fuzzy logic tutorial

hye, can somebody give suggestion where is the best forum or website that i can learn fuzzy logic tutorial in C#. i want to learn about road detection, edge detection and image processing
kaki
  • 25
  • 1
  • 1
  • 1
1 2 3
27
28