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
4
votes
6 answers

Does fuzzy logic really improve simple machine learning algorithms?

I'm reading about fuzzy logic and I just don't see how it would possibly improve machine learning algorithms in most instances (which it seems to be applied to relatively often). Take for example, k nearest neighbors. If you have a bunch a bunch…
4
votes
1 answer

How two check if two unstructured street adresses strings are the same?

I need to compare two unstructured addresses and be able to identify if they are the same (or similar enough). Scenario Address is supplied by the end user in plain text. There is nothing to help the user to write on a more identifiable manner (no…
Minduca
  • 1,121
  • 9
  • 19
4
votes
1 answer

How to run JFuzzyLogic in Eclipse

I'm making a FuzzyLogic Air Conditioner for an assignment in college and I need to get it running in Java. I have added the JFuzzyLogic jar file to my eclipse project but everytime I run the code it just terminates straight away. Can somebody point…
Michelle
  • 89
  • 1
  • 10
4
votes
2 answers

Java library for fuzzy comparing text strings

I'm looking for a tool that would compare two text strings and return a result being in fact the indicator of their similarity (e.g. 95%). It needs to be implemented on a platform supporting Java libraries. My best guess is that I need some fuzzy…
mikolajek
  • 91
  • 2
  • 9
4
votes
1 answer

Fuzzy logic on big datasets using Python

My team has been stuck with running a fuzzy logic algorithm on a two large datasets. The first (subset) is about 180K rows contains names, addresses, and emails for the people that we need to match in the second (superset). The superset contains…
4
votes
1 answer

What are pros and cons of different edge detection algorithms

Can someone describe different edge detection algorithm to detect edges in an image with pros and cons of their uses. Some of the main algorithms that i was interested in were: Sobel FuzzyLogic Canny Thanks in advance
4
votes
2 answers

Fuzzy Logic Truthfulness Demonstration

I'm creating a simplistic example demonstrating fuzzy logic truthfulness. The problem is with determining result truthfulness. My first concern: By testing a value for truth between a high and low target, is this really using fuzzy logic? My…
dubermen
  • 209
  • 1
  • 7
4
votes
4 answers

Fuzzy logic membership function in C

I'm trying to implement a fuzzy logic membership function in C for a hobby robotics project but I'm not quite sure how to start. I have inputs about objects near a point, such as distance or which directions are clear/obstructed, and I want to map…
Anon
  • 5,103
  • 11
  • 45
  • 58
4
votes
2 answers

Find the match percentage between two strings in php?

can anyone suggest me a better method(or most preferred method) to find the match percentage between two strings(i.e. how closely those two strings(eg. name) are related in terms of percentage) using fuzzy logic.? can anyone help me to write the…
user1518659
  • 2,198
  • 9
  • 29
  • 40
3
votes
0 answers

Neuro-fuzzy system

I am looking for software/tool in java which implements the neuro-fuzzy system. I spent a little time in googling around and found encog, neuroph for neural networks in Java. But I need something which does both neural and fuzzy logic, may be like…
Rangesh
  • 728
  • 2
  • 12
  • 27
3
votes
3 answers

Removing Fuzzy Duplicates in R

I have a dataset that looks something like this in R: address = c("882 4N Road River NY, NY 12345", "882 - River Road NY, ZIP 12345", "123 Fake Road Boston Drive Boston", "123 Fake - Rd Boston 56789") name = c("ABC Center Building",…
stats_noob
  • 5,401
  • 4
  • 27
  • 83
3
votes
0 answers

Finding CDRs (sequence) by its definition

I am puzzling to find the CDRs by its definition. Definition is to be matched with the previous and next sequence pattern (known as prefix and suffix respectively) and the CDR is between them. Moreover few point mutation are allowed in prefix and…
3
votes
1 answer

How to fuzzy match names in a free text field using Python?

I have 2 datasets that contain names and free text respectively. As there are lots of resources on matching similar text regardless of their sequence using fuzzy or TF-IDF e.g. Jayda Silva Todd, Todd Jayda Silva, Silva Todd Jayda. However, I am…
3
votes
1 answer

I have been trying to apply fuzzywuzzy package to solve a problem to find fraud entries. How do i apply the same in the following problem?

I want to use fuzzywuzzy package on the following table x Reference amount 121 TOR1234 500 121 T0R1234 500 121 W7QWER 500 121 W1QWER 500 141 TRYCATC 700 141 TRYCATC 700 151 I678MKV 300 151…
3
votes
2 answers

Algorithm used in Excel Fuzzy Lookup

I was working on matching company names of two sets. I was trying to code it in Python with Levenstien's distance. I was having issues with short names of companies, and their trailing part like Pvt,Ltd. I have ran the same set with Excel Fuzzy…
shashank
  • 400
  • 8
  • 25
1 2
3
27 28