Comments (3)
@NetzerKathrin I can't reproduce this. The operations are carried out floating-point, and even if I go out of my way to give the function integer inputs with a narrow sigma the result is still floating point. This
import numpy as np
import skfuzzy as fuzz
print(fuzz.gaussmf(np.asarray([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], np.int16), 5, 1))
returns
[ 1.38879439e-11 1.12535175e-07 1.23409804e-04 1.83156389e-02
3.67879441e-01 1.00000000e+00 3.67879441e-01 1.83156389e-02
1.23409804e-04 1.12535175e-07 1.38879439e-11]
Note that with a relatively narrow Gaussian (small sigma) these do get quite small rather quickly. This behavior depends on NumPy, so it should be platform-independent.
Perhaps your display settings for NumPy arrays round instead of displaying scientific notation?
from scikit-fuzzy.
from scikit-fuzzy.
Closing as cannot reproduce, but feel free to reopen with a brief example so I can track it down if you believe this remains an issue.
from scikit-fuzzy.
Related Issues (20)
- Piecewise Linear Membership Function HOT 1
- Advance sample
- Bug and its possible solution (with drawing graph in Jupyter) HOT 1
- import error on raspi OS with python 3.9 HOT 1
- cmeans loops go to maxiter - 1 instead of maxiter
- Rules
- About fuzzy partition coefficient (FPC)
- Plot window closes instantly HOT 1
- Unable to install scikit-fuzzy HOT 5
- Doubt about replace rules
- Replacement of nose with pytest HOT 1
- Prueba
- Consequent set as antecedent
- TypeError: 'NoneType' object is not subscriptable
- setup.py is missing.
- Request for Feature: Percent of Activation Rules and Antecedent Pertinence
- How to change rule weights.
- Any plan for a new release ? HOT 2
- quesiton on operations missing last value
- 404 table of content link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-fuzzy.