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.

fuzzy-logic
176 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
2 answers
5k views

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. ...
SKM's user avatar
  • 969
4 votes
0 answers
123 views

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 ...
GAGAN BHATIA's user avatar
4 votes
1 answer
149 views

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; ...
Gaurav's user avatar
  • 139
4 votes
1 answer
1k views

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 ...
Michelle's user avatar
3 votes
0 answers
101 views

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. ...
Hossain's user avatar
  • 53
3 votes
1 answer
509 views

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 ...
Gabriel Choo's user avatar
3 votes
0 answers
224 views

Identifying Duplicate Customers Based on Similarity (Spark Dataframe)

I have a spark dataframe that contains customer information. Some clients are duplicates but it's hard for the computer to determine that without some form of fuzzy matching like levenstein distance, ...
Steve's user avatar
  • 12.2k
3 votes
1 answer
914 views

Fuzzy Logic in Java: Having troubles implementing the defuzzification process (using the centroid method)

I have implemented a whole fuzzy logic system in Java, but I am having serious issues on the defuzzification process. In my code, I defined my inputs as time and distance, and the output is simply ...
theJuls's user avatar
  • 7,188
3 votes
1 answer
331 views

Purpose of range constraints in fuzzy logic

When defining a linguistic variable, it is customary to specify minimum and maximum values. For example, when defining a Temperature variable, someone might specify -40C and +85C as the range of that ...
user2979790's user avatar
3 votes
1 answer
578 views

How to apply Combs Method?

I'm studying combs method, for reducing the "combinatorial explosion" of fuzzy logic rules. There's an example, taken from "Programming Game AI from example" (written by Mat Buckland) : The theory ...
Andrea Tucci's user avatar
3 votes
0 answers
1k views

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 ...
Rangesh's user avatar
  • 728
2 votes
1 answer
1k views

Fuzzy Matching with Strings containing numbers

I am trying approximate matches between the reference and the target strings. I have tried adist and stringdist in R with the various distances available. While the algorithms do a good job of ...
darkage's user avatar
  • 857
2 votes
1 answer
3k views

How to do a fuzzy match in PySpark UDF?

I am trying to run following code to generate an additional col in pyspark df. The idea is to take the col from pyspark df and get the max of the scores by comparing the col with the list of keywords ...
trougc's user avatar
  • 405
2 votes
2 answers
187 views

Error message for undeclared variable on Arduino, using typedef

I have created a fuzzy control system on an arduino with a MATLAB file and a free online conversion tool. However when i try to run it I get an error I can't fix: '_FIS_ARR_OP' has not been declared ...
Nils Lcrx's user avatar
2 votes
0 answers
1k views

Making custom fuzzy membership function Python

I am working with a fuzzy logic problem and if I do automf with arguments(3,5,7) then the graph made is weird and it causes "AssertionError: Total area is zero in defuzzification!" error. So, I ...
Asim's user avatar
  • 1,470
2 votes
1 answer
648 views

Best ways in text parsing for Job description (JD parsing)?

I am a developer and having little knowledge in text parsing. I need to parse the Job description and get some outputs. I need to parse the following fields from Job description. Job ...
Raj De Inno's user avatar
  • 1,204
2 votes
1 answer
1k views

How to Cluster Pandas Dataframe Rows by Fuzzy Matched String?

I have a DataFrame with IDs, names, and addresses. I would like to cluster the addresses via affinity propagation or another algorithm in order to fuzzy match/group on the address strings. This part I ...
OverflowingTheGlass's user avatar
2 votes
1 answer
308 views

Fuzzy systems with same output from different rules

I'm new in fuzzy logic modeling. I'm using the package "sets" in R. Starting form a database of crisps variables of 8 input varialbes and 1 output variable, I performed the fuzzyfication and I ...
Michele MORETTI's user avatar
2 votes
0 answers
345 views

What is a sensible way to combine multiple Jaro-Winkler calculations?

Let's say I am comparing two individuals, each with a first name, last name, postal code, address(line1), address(line2), and phone number. These all have varying reliability and importance for ...
Daniel Paczuski Bak's user avatar
2 votes
0 answers
781 views

Fuzzy logic on Android application

I want to use the Fuzzy logic in my android application. I proceed with trying the jFuzzyLogic library (http://jfuzzylogic.sourceforge.net/html/index.html) and the example provided on eclipse. In the ...
ha_ell's user avatar
  • 99
2 votes
1 answer
577 views

Takagi-Sugeno system using frbs R

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 ...
Garbaczyk's user avatar
2 votes
1 answer
263 views

Fuzzy Logic Duplicate Name Detector

I am working on an application with large number of products and brands. We need to match brand names and identify duplicates (possibly mis-typed) and merge them. Something similar to what Android ...
Vineet's user avatar
  • 375
2 votes
1 answer
710 views

SSIS Warm Caches

Please see the following webpage: http://msdn.microsoft.com/en-us/library/ms137786.aspx. In the 'Caches of Indexes and Reference Tables' it states: "When you configure the Fuzzy Lookup ...
w0051977's user avatar
  • 15.5k
2 votes
1 answer
2k views

Fuzzy logic rule generator

I have 6 variables with 4 membership functions such as "tiny,small,large,huge". Is there any tool available that would generate the rules for me. I tried to write the rules and came up with 200 rules ...
Dan's user avatar
  • 821
2 votes
1 answer
242 views

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 ...
K. Rmth's user avatar
  • 217
2 votes
1 answer
2k views

Defining custom membership function using Python skfuzzy library

I am trying to build a fuzzy decsion making module in python using skfuzzy ctrl library. I am defining one antecedent and 5 consequents. But the thing is I am unable to define my own triangular ...
CR7's user avatar
  • 21
1 vote
0 answers
80 views

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) ...
user avatar
1 vote
0 answers
55 views

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
Monish Kumar's user avatar
1 vote
0 answers
139 views

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", ...
Tou Mou's user avatar
  • 1,276
1 vote
1 answer
2k views

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 ...
Shab Meh's user avatar
1 vote
0 answers
788 views

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/...
7- Alison's user avatar
1 vote
1 answer
63 views

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 ...
katka858's user avatar
1 vote
0 answers
172 views

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 ...
Mohammad Amir's user avatar
1 vote
0 answers
281 views

How to calculate linear index of fuzziness of an image?

i am trying to calculate linear index of fuzziness of an image using this formula: i have to see a positive y value according to the paper. But i see a negative value, so i think i am doing something ...
Resul's user avatar
  • 45
1 vote
0 answers
120 views

Individual fuzzy membership values of a crisp number

Consider a trapezoidal membership function having values a, b, c, d. How can I define fuzzy membership function for four linguistic variables like {low, medium-low, medium-large, large} with a defined ...
user2159982's user avatar
1 vote
0 answers
36 views

detection of pattern from unstructured data using fuzzy logic

I'm trying to extract a pattern and trim data from an unstructured data. I'm using Regx for this . I'm wondering if i can use fuzzy logic to do the same.I'm an amateur when it comes to fuzzy Logic . ...
Abby's user avatar
  • 149
1 vote
0 answers
149 views

what is the difference of substitution cost 1 and substitution cost 2 variation in levenstein distance for string matching

I am learning fuzzy search, for this, I was reading about Levenshtein distance. I have found 2 variations in substitution operation some sites shows that substitution operation cost is 1, some sites ...
Kalyan's user avatar
  • 1,900
1 vote
0 answers
371 views

Match name within date range between to pandas dataframes

I'm trying to solve this problem to merge two datasets based on player name and if it's within a date range. is it possible to do this with fuzzy matching? Tournaments can last for up to two weeks. I'...
tomoc4's user avatar
  • 347
1 vote
1 answer
471 views

Protege fuzzyOWL2 plugin fuzzy query

I'm learning fuzzy ontology . There are several different ways like F-swrl , owl2 fuzzy plugin, fsparql. But it seems owl2 fuzzy plugin to be the most famous plugin for fuzzifying. Some researchers ...
alex's user avatar
  • 7,765
1 vote
2 answers
474 views

Modelling a probability distribution as a fuzzy set in Python3

I'm trying to build a fuzzy set from a series of example values with python3. For instance, given [6, 7, 8, 9, 27] I'd like to obtain a function that: returns 0.0 from 0 to 5ca, goes gradually up to ...
Stefano Bragaglia's user avatar
1 vote
0 answers
602 views

efficient fuzzy string-matching

I am striving to find an efficient way to match phoneme strings (with some errors) to orthographic sentences with fuzzy logic. My problem is that I seems to run out of memory even on my 64GB machine ...
badner's user avatar
  • 768
1 vote
1 answer
338 views

fuzzy logic for query-based document summarisation in Python

I am trying to use fuzzy logic to weight and extract the best sentences for the query. I have extracted the following features which they can be used in fuzzy logic: Each sentence has cosine value. ...
elyon's user avatar
  • 39
1 vote
1 answer
1k views

How to print the output value in this example?

I'm trying to test the fuzzy logic tipping example that exists at the following link: click here My question is how can I make this control system prints the output value (tipping) in terms of ['low',...
Haskell00's user avatar
1 vote
0 answers
114 views

Parsing specific category websites with generalized parser

I want to parse several eCommerce websites product pages using Apache Nutch. Currently I am using domain/website specific parser by defining the CSS selectors for Jsoup using different XML file for ...
Kaidul's user avatar
  • 15.6k
1 vote
0 answers
321 views

set inital values for fuzzy logic controrller via simulink

I am using simulink to simulate my network. In my network, each element (Node) is represented as fuzzy inference system (FIS). Each FIS has a set of inputs and one output, the output from this FIS ...
Jon's user avatar
  • 11
1 vote
0 answers
227 views

Fuzzification of input values in shiny app

I`m trying to fuzzify input values and get an output by defuzzification on shiny app. But I don't know how to get those values from input. So is it possible to use input values to fuzzify them and ...
Anastasia's user avatar
1 vote
0 answers
278 views

Error returning jFuzzyLogic result as double value

I want to return the result of the fuzzy logic as a double to be used by another class. I am using the following java code: public class MyFuzzyClass { public double getFuzzy() { String fileName ...
java_researcher's user avatar
1 vote
0 answers
240 views

How can I use fuzzy logic to analyze two images in MATLAB?

I have two grayscale images I1 and I2, and three fuzzy rules. The rules are: IF gray value is low in I1 AND gray value is low in I2 THEN case A IF gray value is high in I1 AND gray value is high in ...
Michael's user avatar
  • 290
1 vote
0 answers
298 views

coding the IF-ELSE of Fuzzy Logic in a microcontroller

I have this project where I want to try putting fuzzy logic in a PIC microcontroller, and well, at the If-else part. I was wondering if it would be better to: Hard code if-elseand then just look for ...
Jp Ramoso's user avatar
1 vote
0 answers
83 views

SSIS Fuzzy Lookup match only once to source

I'm having a bit of trouble with SSIS Fuzzy Lookup. What I would like to do is have two sets of unique data. For set 1 I want to make a fuzzy lookup on set 2, once the strongest match has been found ...
sqlconsumer.net's user avatar