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

Fuzzy facts in clips

I made a fuzzy template that will represent a student's knowledge in a certain domain. Problem is that upon declaring a student John as low, he will also be declared as med because low students are also med between 30 and 40. How can I declare a…
George Irimiciuc
  • 4,573
  • 8
  • 44
  • 88
7
votes
3 answers

Data Deduplication algorithm for large number of contacts

I'm developing an application which must be able to find & merge duplicates in a Hundreds of thousands of contact information stored in sql server DB. I have to compare all the columns in the table, each column has a weight value. The comparison…
Shankar
  • 91
  • 1
  • 6
6
votes
1 answer

Need more understanding on python fuzz partial ratio

I am using python fuzzywuzzy on an enterprise level to match 2 strings. It works fine in most of the cases but giving unexpected results in the below mentioned scenario: fuzz.partial_ratio('ja rule:mesmerize','ja rule feat. ashanti:mesmerize') gives…
Sains
  • 457
  • 1
  • 7
  • 19
6
votes
1 answer

A concrete example of fuzzy logic

I remember reading a book about fuzzy logic and how it was being used in devices like washing machines. I haven't yet encountered a concrete example of this in code though. Do you know of any?
James P.
  • 19,313
  • 27
  • 97
  • 155
6
votes
4 answers

SQL Fuzzy Join - MSSQL

I have two sets of data. Existing customers and potential customers. My main objective is to figure out if any of the potential customers are already existing customers. However, the naming conventions of customers across data sets are…
hansolo
  • 903
  • 4
  • 12
  • 28
5
votes
3 answers

Fuzzy Match columns of Different Dataframe

Background I have 2 data frames which has no common key to which I can merge them. Both df have a column that contains "entity name". One df contains 8000+ entities and the other close to 2000 entities. Sample Data: vendor_df= Name of Vendor …
Rahul Agarwal
  • 4,034
  • 7
  • 27
  • 51
5
votes
2 answers

Using machine learning to predict the collapse & stabilization of complex systems?

I've been working on a fuzzy logic SDK for the past 3 months now, and its come to the point where I need to start heavily optimizing the engine. As with most "utility" or "needs" based AI systems, my code works by placing various advertisements…
5
votes
2 answers

Example of fuzzy logic in classification

I need to classify objects using fuzzy logic. Each object is characterized by 4 features - {size, shape, color, texture}. Each feature is fuzzified by linguistic terms and some membership function. The problem is I am unable to understand how to…
SKM
  • 959
  • 2
  • 19
  • 45
5
votes
1 answer

Fuzzy name matching algorithm

I have a database containing names of certain blacklisted companies and individuals. All transactions created, its detail needs to be scanned against these blacklisted names. The created transactions may have names not correctly spelled, for example…
user2477549
  • 59
  • 1
  • 2
5
votes
1 answer

Comparing similar Text Descriptions of Electronic Product Specifications

I have a catalog of electronic products. I have them in a SQL DB in fields/columns like Title, Mfg Part Nr, UPC etc. I then crawl through external websites that list electronic products for e.g. Amazon. For most part this results in some HTML text,…
O.O.
  • 1,973
  • 6
  • 28
  • 40
5
votes
6 answers

Performance of Python worth the cost?

I'm looking at implementing a fuzzy logic controller based on either PyFuzzy (Python) or FFLL (C++) libraries. I'd prefer to work with python but am unsure if the performance will be acceptable in the embedded environment it will work in (either ARM…
NBenatar
  • 153
  • 7
4
votes
1 answer

Convert Matlab Fuzzy Logic toolbox fis file to c# / c++ / javascript

I have a Matlab program that is partially relies on Matlab's Fuzzy logic toolbox, which I want to convert to c# program (and later on to objective-c, but let's keep this for later). Is ther any means to convert my fuzzy logic fis file into c# (or…
shahar_m
  • 3,461
  • 5
  • 41
  • 61
4
votes
2 answers

RuntimeError: matplotlib does not support generators as input

I'm using fuzzy art algorithm to be applying on my data and everything works fine in case of results but when it come to plot the result the interpreter says: RuntimeError: matplotlib does not support generators as input. By the way, i'm using…
Ali Barani
  • 238
  • 2
  • 7
  • 17
4
votes
0 answers

Postgresql fuzzy match extension giving out error

I am using PostgreSQL DB hosted on AWS. I am trying to use fuzzy logic, enabled its extension successfully. But running the fussy match Query gives me an exception. Also verified, the extension is already enabled but still, Query failed. **Query…
GAGAN BHATIA
  • 591
  • 5
  • 17
4
votes
1 answer

Fuziness In UIMA ruta

Is there any option of fuzziness in case of word matching, or ignoring some special cases. For ex: STRINGLIST AMIMALLIST = {"LION","TIGER","MONKEY"}; DECLARE ANIMAL; Document {-> MARKFAST(ANIMAL, AMIMALLIST, true)}; I need to match words with…
Gaurav
  • 139
  • 1
  • 16
1
2
3
27 28