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
1
vote
1 answer

Fuzzy Match in excel/vba

I just wanted to know if the following is possible using fuzzy match in excel: I have a database in excel that I am building a search engine for. The database is in a table format. My data involves 200 hyperlinks of excel files, so there’s 200 rows…
Shab Meh
  • 51
  • 6
1
vote
0 answers

Fuzzy Logic: The tipping problem - output never goes past a threshold?

I am new to fuzzy logic with python and have been implementing the skfuzzy library. The first example that I have looked at is the tipping problem, here -> https://pythonhosted.org/scikit-fuzzy/auto_examples/plot_tipping_problem_newapi.html I…
7- Alison
  • 19
  • 6
1
vote
1 answer

Need to roughly group similar query executions in Oracle that have slightly different constraints

Working on assessing impact of some current databases planned retirement. It's not feasible for individual communication with users that have accessed impacted data recently due to volume. I'm thinking that if I can do some form of fuzzy logic…
1
vote
1 answer

z axis too long in 3dplot in sage

I'm trying to make this plot for the Łukasiewicz t-norm and I don't know how to make the z axis go only from 0 to 1, mine goes from -1 to 1 and I need that flat area to be visible. Now I have def luka_tnorm(a, b): c = a + b - 1 return…
katka858
  • 11
  • 1
1
vote
0 answers

Why ```token_sort_ratio()``` is not working?

I have two strings as follows - key_up = "DATE OF DISCHARGE" key_low = "date of discharge" t1 = "blah blah blah blah DATE OF DISCHARGE more blah blah" Now I am calculating the fuzz ratio of t1 with kew_up and key_low as - s9 =…
Mohammad Amir
  • 133
  • 1
  • 6
1
vote
1 answer

How to change defuzzification method in Tipping Problem?

I tried the Tipping problem posted on the following website as an example. It works and there is no problem. But I am not sure how to change the defuzzification method in new API. I believe the default method is centroid. How can I check other…
BasicTex
  • 89
  • 1
  • 10
1
vote
1 answer

Building an Intrusion Detection System using fuzzy logic

I want to develop an Intrusion Detection System (IDS) that might be used with one of the KDD datasets. In the present case, my dataset has 42 attributes and more than 4,000,000 rows of data. I am trying to build my IDS using fuzzy association rules,…
1
vote
1 answer

Fuzzy choice between a variable number of sets

I was wondering which is the simplest and most configurable way to obtain what I need in the following situation: I have a counter, let's call it X that will be used to extract one of the sets I have a variable number of sets S1, S2, .. which can…
Jack
  • 131,802
  • 30
  • 241
  • 343
1
vote
1 answer

How to build 2-layer fuzzy inference system

I am implementing a fuzzy logic based decision support system that uses nine variables but group each three together to form an output then take these three output to make the final output of the system. I am using fuzzy logic toolbox in matlab, I…
siba36
  • 45
  • 9
1
vote
1 answer

Obtain a column average of only those rows with a fuzzy ratio above a given value

I am trying to obtain, for each value in a grouped pandas column, the average value of another column with 1 and 0 only of those rows where the fuzz.partial_ratio() of the column is above a given limit (say above 80). I know this might be unclear,…
1
vote
2 answers

Fast and quick pixel matching algorithm

I am stuck in a pixel matching algorithm for finding symbols in an image. I have two images of symbols that I intend to find in an image that has big resolution. Instead of a pixel by pixel matching algorithm, is there a fast algorithm that gives…
Computer User
  • 2,839
  • 4
  • 47
  • 69
1
vote
1 answer

fuzzy Logic for a String in R

I have 2 dataframe: DF1 ID Address AB1 VILL +PO CHAPAR TAPUKADA ALWAR AB2 VILL WARD NO 02 THIKARIYA CHAND RAWAT JUNA PADA POST BADANA 0 SIROHI AB3 RAMKUMAR YADAV VILL KANSL 0 JAIPUR AB4 VILL KHERKI MUKKER POSTPANIYA PUTLI …
1
vote
1 answer

Compare two date columns in pandas DataFrame to validate third column

Background info I'm working on a DataFrame where I have successfully joined two different datasets of football players using fuzzymatcher. These datasets did not have keys for an exact match and instead had to be done by their names. An example…
Edd Webster
  • 124
  • 12
1
vote
1 answer

Defuzzification process of fuzzy sets in RDBMS

I have a table that stores all values..eg x1, x2, x3 which determines fuzzy sets. Degree of membership is assigned to each using mathematical functions for Low, Med, High. My rule 1 states that if x1 is high AND x2 is medium then probability of…
CGF
  • 313
  • 3
  • 5
  • 15
1
vote
3 answers

Fuzzy lookup in SQL to match names

I am stuck at a problem where I need to populate historical data using Fuzzy match. I'm using SQL Server 2014 Developer Edition MainTbl.UNDERWRITER_CODE is where data needs to be populated in place of NULL. This data needs to be from LKP table. The…
Prabhat G
  • 2,974
  • 1
  • 22
  • 31