Questions tagged [fuzzy]

DO NOT USE - ambiguous: see fuzzy-search, fuzzy-logic, or image-processing for more appropriate tags.

Do not use this tag. It is ambiguous: see , , or for more appropriate tags.

363 questions
3
votes
0 answers

Rough set: Quick reduct/ feature selection in Python

I need to implement quick reduct algorithm for feature selection based on the rough sets, for that, I used cancer breast dataset, I get some errors and even if the code run the result is false ( comparing to R). Original data set Discretized data…
3
votes
3 answers

skfuzzy can not be recognized

I made a traffic light prototype from raspi. My source code has given an error. The erorr said Traceback (most recent call last): File "/home/pi/testing.py", line 2, in import skfuzzy as fuzz ImportError: No module named 'skfuzzy' I…
Himawan Sandhi
  • 51
  • 1
  • 2
  • 6
3
votes
1 answer

Matching two data sets via fuzzy many-to-one string match in R

I have two large data sets (500k obs each) which I would like to link via fuzzy string matching on individuals' names but utilizing information on other variables as well. The problem is similar to the one described here: How can I match fuzzy match…
Andy
  • 81
  • 8
3
votes
1 answer

stringdist_join results in NAs

i am experimenting with the stringdist package in order to make fuzzy joins and i run into a problem which i do not understand and fail to find an answer for. I want to join these 2 data tables with the "dl" method and it produces a NA, which i…
Dome
  • 60
  • 6
3
votes
1 answer

Fuzzy set addition and squaring

I'm working with fuzzy sets. I was wondering if there are any libraries available for Python? Namely, I'm having trouble adding 2 fuzzy sets and also squaring them. I am storing the fuzzy set in a Python dictionary, the key being the member element…
Sumanth
  • 31
  • 3
3
votes
2 answers

Define acronyms when running vb code calculating similarity

I am utilizing the following vb code in excel to calculate the degree similarity between column A and column B. It runs great. The next step for me is to define acronyms so the calculated degree of similarity is not impacted. IE: If I have in…
jonv
  • 53
  • 4
3
votes
0 answers

MATLAB ANFIS sets MF parameters to 0

I'm using MATLAB ANFIS to train a FIS generated by FCM (using genfis3). The problem is that the resulting FISs (both the trained and validated ones) have all membership function parameters =0 (gaussian MF with centers and sigma's set to 0). This…
eepgmja
  • 41
  • 5
3
votes
1 answer

Merge Dataframe by regular expression or fuzzy match

I have d1 and d2 and I want to merge the two by ID column. However, the ID and ID2 are not exactly match. Instead, ID is the first 8 digit of ID2 (sometimes it can be the first 6 digit, or sometimes it can be one or two digit different). I…
Lisa
  • 4,126
  • 12
  • 42
  • 71
3
votes
0 answers

Fuzzy Line (Region) in R

I want to draw a fuzzy line instead of a simple line like the image below: I don't want fill in area between 2 lines with a color like that polygon function do: I want to draw a line or a region that covers all of the point in the dataset like a…
fidelroha
  • 101
  • 2
  • 11
3
votes
1 answer

Compositions in Fuzzy Relations - MATLAB/Python

I want to calculate Fuzzy Relation Compositions on MATLAB/Python and was wondering if there are any built-in functions in MATLAB or Python for doing this... here's an example : R1 = [{ 3, 4, .7}, {3, 5, 0}, { 4, 4, 1}, { 4, 5, .1}] R2 = [{ 3,3, 0},…
Cypher
  • 2,374
  • 4
  • 24
  • 36
3
votes
3 answers

how to solve errors in frbs package of R using GFC.GCCL method?

I'm using frbs package in R on my data set using 5-fold stratified cross validation. I've implemented stratified CV. I use GFS.GCCL method for frbs.learn function in each fold and predict the result using test data. I get this error as well as 30…
Pegah
  • 121
  • 1
  • 12
3
votes
2 answers

Is this a variation of the traveling salesman problem?

I'm interested in a function of two word lists, which would return an order agnostic edit distance between them. That is, the arguments would be two lists of (let's say space delimited) words and return value would be the minimum sum of the edit…
3
votes
2 answers

fuzzy merging two tables postgresql

I need to join two tables based on names. And the problem is that names may be a slight mispelling in one of the database. I have remedy this problem in the past using Stata and Python's fuzzy merging, where names are matched based on how closely…
samuraiexe
  • 377
  • 1
  • 3
  • 11
3
votes
3 answers

TSQL grouping on fuzzy column

I would like to group all the merchant transactions from a single table, and just get a count. The problem is, the merchant, let's say redbox, will have a redbox plus the store number added to the end(redbox 4562,redbox*1234). I will also include…
Mani007
  • 93
  • 4
3
votes
3 answers

Pulling information from the first approximate match of a text string in R (and summing the total number of matches)

I'm having trouble summing approximate matches of text strings, as well as pulling information from the string that was matched first in time. I have data that look like this: text<-c("THEN it goes West","AT it falls East","it goes West", "it falls…
R-Enthusiast
  • 340
  • 1
  • 3
  • 10
1 2
3
24 25