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

Rule based AI techniques similar to Fuzzy Logic?

Fuzzy Logic allows the user to define rules and determine the output based on the rules and membership functions. It does not require a data-set for learning (I know it doesn't learn. There is a learning version called neuro-fuzzy-systems). I find…
0
votes
0 answers

Fuzzy decision trees (ID3). From ID3 to FuzzyID3

i have the following question about the fuzzy decision trees: I have a training data(10 columns, 1,000,000 rows), how can a decision tree(e.g ID3) "work" with fuzzy sets? This training set has to be "fuzzified" before the FuzzyID3 algorithm uses…
0
votes
0 answers

Preparing data for clustering analysis and data pre processing

I want to implement a rough c means clustering algorithm but I have no prior experience in clustering so I'm wondering if I need to do some pre processing to the data to make it usable for clustering. For example let's say I have a csv file with a…
Mocktheduck
  • 1,333
  • 1
  • 22
  • 43
0
votes
1 answer

Can I have more than 1 function block in a Fuzzy Inference System?

I'm creating an application for my university course that will use fuzzy logic to take input from a user and give a fuzzified output which will then be used to create a query of some sort. I'm wondering if you can have more than one function block…
Gus
  • 108
  • 9
0
votes
1 answer

Fuzzy Logic Lookup - How to use calculated columns

We're starting to implement Unicode as we've added some international customers. There are some issues comparing character data in SSIS because of capitals, accents, and other data problems. I've thought that the Fuzzy logic lookup could be a good…
yoelbenyossef
  • 393
  • 1
  • 7
  • 26
0
votes
1 answer

Does the way I format input affect the working of the anfis function?

As in documentation, the anfis function takes in N rows of input features, and an N+1 row consisting of the output determined from the N rows. The input I have consists of 4 features, and one of these features' delayed version is the output.…
kate
  • 1
  • 5
0
votes
1 answer

How to use FuzzyWuzzy in Python to name match between two data frames?

I have df1 and df2. I want to use fuzzywuzzy to string match column A in df1 to column A in df2, and return an ID in column B of df2 based on a certain ratio match. For example: df1 looks like this: Name Sally sells Seashells df2 looks like…
Window
  • 87
  • 1
  • 8
0
votes
1 answer

Adaptive Neuro-Fuzzy Logic using Accord.NET?

Is it possible to design a neuro fuzzy system using Accord.NET. I can't fins anything regarding neuro fuzzy systems in Accord documentation. Has anyone done this before, Is there any technique to do this?
Deepan
  • 95
  • 7
0
votes
0 answers

How to determine the rules of a fuzzy system with 3 inputs and 1 output?

I am creating a fuzzy system in matlab as part of my final year computer science work for fuzzy logic. I have created my 3 inputs variable so Wind speed: Low Average High Visibility: Low Medium Clear Wind direction: Safe1…
user7191985
0
votes
1 answer

How to change the value of the function depending on what`s choosen on radio button (shinyapp)&

I`d like to multiply the value of function fuz <- gset_defuzzify by 2 if user choose English and by 1,5 if Spanish is chosen. I tried to use reactive expression but it gave me an error: "Reading objects from shinyoutput object not…
Anastasia
  • 11
  • 6
0
votes
1 answer

How to efficiently plot a fuzzy surface using R's sets library

In R, how can you best plot a fuzzy surface in a 3D plot using the sets package for fuzzy logic? The service variable and food variable should be they x and y axis, and the z axis should be the centroid found from defuzzifying the fuzzy inference…
Soson
  • 120
  • 10
0
votes
1 answer

Python: Comparing 2 sets of data, yield best match and match %

I've seen lots of Q&A on this topic, but none contain the type of output I'm looking for. Any words of wisdom on this would be very much appreciated! I have 2 lists... both lists contain 1 column, consisting of Full Name|University (i.e., name and…
Andrew G.
  • 3
  • 1
0
votes
1 answer

python dynamic fuzzy logic join

I am trying to make a dynamic fuzzy logic join for 2 tables. What I mean by dynamic is allowing the arguments to specify the variables that will allow the two tables to join. The code noted below is a modified version of the static code under the…
Seb_aj
  • 435
  • 6
  • 14
0
votes
1 answer

What is the best way to do complicated string search on 5M records ? Application layer or DB layer?

I have a use case where I need to do complicated string matching on records of which there are about 5.1 Million of. When I say complicated string matching, I mean using library to do fuzzy string matching.…
smooth_smoothie
  • 1,319
  • 10
  • 27
  • 40
0
votes
0 answers

How to train a ANFIS model with membership function of a particular input as "NONE" or "ZERO"

I have trained an ANFIS model in MATLAB using inputs with 3 membership functions each. The membership functions are "LOW", 'AVERAGE" and "HIGH". Now I wish to add one more membership function as "NONE" or "ZERO", where when it is used, the…
Cheng
  • 279
  • 3
  • 13