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
0 answers

what happens to Schweizer T-Norm when p goes to zero?

I am reading Jang's book of Neuro-Fuzzy and Soft Computing and in the 2nd chapter the author talks about Schweizer and Sklar T-Norm which is presented by this equation: it's a handy T-norm. in the exercises (#20 page 45) it asks what would happen…
Babakslt
  • 199
  • 1
  • 10
0
votes
1 answer

Inference engine - hybrid rules with crisp and fuzzy facts

I want to make an inference fuzzy engine which infers 3 types of rules: Crisp rules. Fuzzy rules. Hybrid rules with both crisp and fuzzy facts. Each rule has a hypothesis set, a conclusion set, and a certainty factor. In the set's facts, if a fact…
MiP
  • 499
  • 1
  • 7
  • 16
0
votes
2 answers

What logic to use to rollup/merge multiple person entities as the same? (tight, but fuzzy enough to broaden matches)

I have multiple instances of people entities which are often times the same person. Where the address First-Last is the same at the same address, it's a no-brainer to merge/rollup them. However, due to data entry inconsistencies, there must be a way…
Chris Adragna
  • 625
  • 8
  • 18
0
votes
1 answer

Matlab (ANFIS) Error in training

I have a Sugeno 2-input - 1-output fuzzy system with 5mfs per rule and 5mfs for the output. However, whenever I am trying to train it, i receive the following error: As you may see, the number of rules and the number of output membership functions…
brbtsl
  • 322
  • 1
  • 4
  • 14
0
votes
1 answer

Error in inference system in fuzzy Logic - R

I am trying to implement a fuzzy inference system in R using frbs package. Here is my code - varinp.mf <- matrix(c(1,1,1,1,3,1,1,4,3,1,1,1,1,3,1,4,4,3, 0,20,40,70,85,0,5,30,65,0,25,40,70,85,0,20,45,70, …
maggs
  • 763
  • 2
  • 9
  • 15
0
votes
1 answer

Error in inference function in frbs package - R

I am trying to implement a fuzzy inference system in R using frbs package. Here is my code - varinp.mf <- matrix(c(1,1,1,1,3,1,1,4,3,1,1,1,1,3,1,4,4,3, 0,20,40,70,85,0,5,30,65,0,25,40,70,85,0,20,45,70, …
maggs
  • 763
  • 2
  • 9
  • 15
0
votes
0 answers

Fuzzy Match using SQL Server Standard Edition 2008 R2

I have a question about de-duplicating/cleansing a list of companies and addresses (90K) and merging them. An example of this list would be Google, Google INC, G INC, Google - New York, Google Chicago with a different or same address. All in all,…
0
votes
1 answer

Comparing two uk postcode values for match and part match ignoring spaces and case

I would like to compare two uk postcode strings in a ms access database vba function. I want to first identify if the postcodes match. Ignoring and case sensitivity or spaces between the incode and outcodes if they are present in either postcode…
Justin
  • 1
0
votes
3 answers

How to create Fuzzy Logic rules or model in Java

I have been given a new task in my new job, basically, I have to create a "model" to predict future data. I have been told Fuzzy Logic is the best way to do this, and I use Java almost every day, so I would prefer to use it here too. I have searched…
Mayuso
  • 1,291
  • 4
  • 19
  • 41
0
votes
1 answer

How can I train my ANFIS dataset in MATLAB?

I have some following dataset of 9 years that represents the people per infected of dengue from 2007 to 2015 divide in four quadrant in each year. How can I prepare my dataset for ANFIS. and train them to predict previous year record ?
0
votes
1 answer

Takagi Sugeno system in R with frbs something wrong with rulebase

I've been trying to use the R Statistical software to build a Takagi Sugeno fuzzy system. Using the R package frbs I've managed to set up the most of components of the FIS following the example in the demo files. Unfortunately, I've hit a…
Garbaczyk
  • 31
  • 4
0
votes
0 answers

MATLAB with PHP

I am trying to connect MATLAB with PHP that can calculate fuzzy logic. However it cannot run the matlab function and it did not show the output on my php website that has been calculated in MATLAB. Any help would be greatly appreciated. …
0
votes
0 answers

fuzzifier() in R

I have written this following piece of code to fuzzify all the IRIS data set attributes into three labels(narrow, medium, wide). varinp.mf <- matrix(c(1,1,1,4,5,6,5,6,7,6,7,8), nrow = 4, ncol = 3, byrow = TRUE) test =…
Sabhijiit
  • 55
  • 1
  • 2
  • 12
0
votes
1 answer

Fuzzy Logic Implementation In Android

How to add jfuzzy lite library in android?
Chiranjhivi Ghimire
  • 1,739
  • 1
  • 19
  • 21
0
votes
1 answer

How to use multiple fuzzy input sets / relationships in scikit-fuzzy?

I'm making a fuzzy agent with scikit-fuzzy which determines how good a basketball player is based on length and motivation. Obviously this is a learning project and not a realistic implementation. In a simple example with only a relationship between…
Ben
  • 1,561
  • 4
  • 21
  • 33