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
413
questions
0
votes
0
answers
26
views
AssertionError and ValueError in scikit-fuzzy,python
I am trying to build fuzzy logic with 3 input variables and one output variable in python.I have introduces 27 rules with the problem but I am getting the AssertionError: Total area is zero in ...
0
votes
2
answers
79
views
Fuzzy Logic to match the records in a dataframe
I have a huge datasets of 2 Million and i want to match the records based on the fuzzy logic I have my original dataframe like
+---------+---------------+
| name| address|
+---------+-------...
0
votes
1
answer
87
views
How to parametrise the Data flow source 1 and source 2 in the same SQL DB but two different tables
I am building a Data flow pipeline which will call control flow pipeline.
The solution I am trying to achieve is to implement the Fuzzy logic for two master table to find relevant matching.
As show on ...
0
votes
1
answer
42
views
How to Perform Fuzzy Matching and Merge on Two DataFrames Based on Geographical Regions in Pandas
I'm currently working on a project where I need to merge two pandas DataFrames based on geographical regions (such as Province, City, and District). However, the challenge is that the geographical ...
0
votes
0
answers
62
views
Fuzzy Logic numpy in Django
I'm making website for web survey project. I have fuzzy logic python program and I want to try it to implement it to Django, but I don't know how to connect it to django. This is my model, though
...
0
votes
0
answers
85
views
Confused about skfuzzy trimf() not having values for negative x
I am studying for a fuzzy logic exam and this question came up for the past papers
import numpy as np
import skfuzzy as fuzz
import matplotlib.pyplot as plt
X = np.arange(-100, 100, 1)
A = fuzz.trimf(...
1
vote
1
answer
26
views
draw two dimensional fuzzy MF by Octave
I want to draw composite of two trapezoidal MFs by Octave. This is what I tried:
%MAX composite
pkg load linear-algebra
tx = ty = linspace (-10,10,100)';
cartesian_prod_domain = cartprod(tx,ty);
a =...
0
votes
0
answers
75
views
ValueError: Crisp output cannot be calculated, likely because the system is too sparse
I have built a fuzzy control system that takes three inputs (fever, headache, nausea, vomiting, jaundice, enlarge_liver, joint_pain, body_weakness, dizziness, loss_of_appetite, mp) that accept (mild, ...
0
votes
0
answers
20
views
evaluate function not receving the original image for PSNR calulation
i've been experimenting with salt and pepper image denoising using fuzzy logic and genetic algorithm for optimization, so far the code looks good but when i try to run it i get an error saying one of ...
0
votes
0
answers
21
views
On a rule-based system, how you deal with lack of facts?
I'm studying in college about rule-based system, and I want to know if I have the rules of my system, but the facts are incomplete what I can do?
For example:
Rules:
r1: f1 and f2 then f3
r2: f3 then ...
0
votes
0
answers
73
views
Negation of sigmoid function in R
I would like to use the sets package for fuzzify and defuzzify in RStudio and, in particular, the negation of the sigmoid function in a fuzzy_partition environment.
For instance, this code:
weather = ...
0
votes
0
answers
32
views
Cannot get the right way to make a fuzzy logic problem to work with the mom defuzzy method
I'm new to fuzzy logic, I'm trying to get the power of a heater with the mom defuzzy method when the temperature is 27 degree
I'm having an error because the first and second element of the defuzz ...
0
votes
2
answers
620
views
Request Taking too long in Django
I have been trying to build a mathematical model of chemotherapy drug dose scheduling as part of my thesis. Firstly, I did the logic in MATLAB and then implemented it in Python. Then I tried using ...
0
votes
0
answers
36
views
Function also applies to NA values
I'm trying to apply a fuzzify a Terra SpatRaster object using a created Fuzzy membership function with FuzzyR package using Terra::app, but the function is also aplied to NA values. How can I avoid ...
0
votes
0
answers
20
views
For loop in skfuzzy not returning all results
I am using the skfuzzy module to create a fuzzy logic controller to evaluate three arrays. I have defined my Antecedent/Consequent objects, built my membership functions, created my rules and control ...