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

how can i fuzzify the load_power vector?

I'm using the power flow algorithm from http://www.mathworks.com/matlabcentral/fileexchange/34200-radial-power-flow I have a load_power vector which contains actual load powers. There is a projected increase in load power of 6% and maximum increase…
K. Rmth
  • 217
  • 4
  • 12
1
vote
1 answer

Anfis with sugeno fuzzy model using matlab

I am implementing a ANFIS model with hydrid training method. I have 13 inputs that maps to one output. I framed rules with respect to my system. When I train data, i get the below error: Number of output MF's is not equal to number of rules Any…
Rangesh
  • 728
  • 2
  • 12
  • 27
1
vote
0 answers

Fuzzy address lookup using Google

Has anyone ever tried to use google map api for fuzzy address matching? My thinking is that if I make two calls to google to get a proper name and consistent address format, this would make the compare easier. Is there a better approach?
Arcadian
  • 4,312
  • 12
  • 64
  • 107
1
vote
2 answers

Predicate... or some other term?

Just out of curiosity: if I have a class operator (or function or the like) that accepts several arguments (normally 1 or 2) and returns 1 of 3 values (instead of boolean true or false) should it still be called a predicate? Or a special case of…
Itamar Bitton
  • 777
  • 2
  • 7
  • 25
1
vote
3 answers

A float subclass that can be evaluated to false (fuzzy logic) in Ruby

I need a class that can represent probabilities. It can be represented like a float between 0 and 1, and anything below 0.5 should evaluate to false. (or it can be between 1 and -1, anything negative is false) p = A.probability() puts p # will…
lulalala
  • 17,572
  • 15
  • 110
  • 169
1
vote
3 answers

Classification of review from customers into Good,Bad and Neutral

I have a typical AI Problem to solve. Customers gonna submit comments about a product. I have to be able to create a program that classify these comment as either good,bad or neutral. Surely, Neural Network gonna play a great role in it. Also, I…
Noor
  • 19,638
  • 38
  • 136
  • 254
1
vote
0 answers

Why in C# Fuzzy Logic program - System.Exception: 'The numerical output in unavailable. All memberships are zero.'?

I made a program for banking loan approval on C# that using Accord Fuzzy library. Input parameters: Age (range 16 - 100); Income (range 0 - 100); Credit Score (range 0 - 100); Employment (0 - 10) Output: Approval (range 0 - 100). So when I set…
user21132409
1
vote
1 answer

Accumulation Curve For Cognitive Maps - Number of Maps vs. Number of Variables

I have 40 cognitive maps and I want to use the list of variables from each map to create a an accumulation curve where I plot the map number of the x-axis and the number of "new" variables identified on the y-axis. i.e. For the first map, all…
Gwyn
  • 13
  • 2
1
vote
0 answers

Can we solve fuzzy linear programming using GLPK python?

I am exploring fuzzy linear programming for my current project. I am already using GLPK API using python for solving linear programming problems. I want to know if I can solve fuzzy LPP using GLPK
1
vote
2 answers

Good (and recent) resource for expert systems

Does anyone know any good (and recent) resources for designing expert systems?
DeveloperInToronto
  • 1,173
  • 2
  • 14
  • 32
1
vote
1 answer

What is the simplest way to implement fuzzy relational composition of two matrices in R?

What is the simplest way to implement fuzzy relational composition of two matrices in R? I coded a version of it but it's supposedly very slow, so I wonder if there's vectorized operations that can make it faster circ_prod <- function(R,S) { …
monotonic
  • 394
  • 4
  • 20
1
vote
0 answers

How to defuzzify a model using FuzzyR package with user-defined MF

Good afternoon, FuzzyR package has some built-in example to follow if someone need to build fuzzy logic model : library("FuzzyR") fis = newfis('Tipper') fis = addvar(fis, "input", "Intent", c(0, 10), 'gauss', 0.5, 'tnorm.min.max') fis = addvar(fis,…
Tou Mou
  • 1,270
  • 5
  • 16
1
vote
1 answer

AI Based Deduplication using Textual Similarity Measure in Python

Given I have a dataframe that contains rows like this ID Title Abstract Keywords Author Year 5875 Textual Similarity: A Review Textual Similarity has been used for measuring ... X, Y, Z James Thomas 2018 8596 Natural Language Processing: A…
1
vote
2 answers

Nested IfElse statements in R not returning values as expected

I am trying to code the following in R. I think it needs a series of nested ifelse statements. I can get my code to work but it doesn't seem to work properly. I want to be able to classify a range according to these rules, where values
cando
  • 33
  • 4
1
vote
1 answer

Compare each row in column with every row in the same column and remove the row if match ratio is > 90 with fuzzy logic in python

Compare each row in column with every row in the same column and remove the row if match ratio is > 90 with fuzzy logic in python. I tried removing using duplicates, but there are some rows with same content with some extra information. The data is…