New Fuzzy Inference Systems (NFISiS)
Reason this release was yanked:
outdated version
Project description
Project description
Author: Kaike Sa Teles Rocha Alves
NFISiS (new fuzzy inference systems) is a package that contains new machine learning models developed by Kaike Alves during his PhD research.
Website: kaikealves.weebly.com
Documentation: Fourthcoming
Email: kaikerochaalves@outlook.com
Source code: https://github.com/kaikerochaalves/NFISiS_PyPi
It provides:
the following machine learning models in the context of fuzzy systems: NMC, NMR, NTSK, GEN_NMR, GEN_NTSK, R_NMR, R_NTSK
Code of Conduct
NFISiS is a library developed by Kaike Alves. Please read the Code of Conduct for guidance.
Call for Contributions
The project welcomes your expertise and enthusiasm!
Small improvements or fixes are always appreciated. If you are considering larger contributions to the source code, please contact by email first.
To install the library use the command:
pip install nfisis
To import the NewMandaniClassifier (NMC), simply type the command:
from nfisis.fuzzy import NewMamdaniClassifier
To import the NewMamdaniRegressor (NMR), simply type:
from nfisis.fuzzy import NewMamdaniRegressor
To import the NTSK (New Takagi-Sugeno-Kang), type:
from nfisis.fuzzy import NTSK
NewMandaniClassifier, NewMamdaniRegressor, and NTSK are new data-driven fuzzy models that automatically create fuzzy rules and fuzzy sets. You can learn more about this models in papers: https://doi.org/10.1016/j.engappai.2024.108155 and https://doi.org/10.1007/s10614-024-10670-w
The library nfisis also includes the NTSK and NMR (NewMandaniRegressor) with genetic-algorithm as attribute selection. At this time, the paper containing the proposal of these models are fourthcoming.
To import GEN_NMR type:
from nfisis.genetic import GEN_NMR
To import GEN_NTSK type:
from nfisis.genetic import GEN_NTSK
Finally, one last inovation of this library that was part of the reasearch of the PhD of Kaike Alves and it is in his forthcoming thesis is the ensemble model with fuzzy systems, reffered as to R_NMR and R_NTSK:
from nfisis.ensemble import R_NMR
from nfisis.ensemble import R_NTSK
Once you imported the libraries, you can use functions fit and predict. For example:
from nfisis.fuzzy import NTSK
model = NTSK()
model.fit(X_train, y_train)
y_pred = model.predict(y_test)
If you want to look closely to the generated rules, you can see the rules typing:
model.show_rules()
Otherwise, you can see the histogram of the rules by typing:
model.plot_hist
The fuzzy models are quite fast, but the genetic and ensembles are still a bit slow. If you think you can contribute to this project regarding the code, speed, etc., please, feel free to contact me and to do so.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nfisis-0.0.3.tar.gz.
File metadata
- Download URL: nfisis-0.0.3.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3284d6786b080a9d8708b77fca3d0ca1ac01916207144da44be1f43f5801a74
|
|
| MD5 |
2ada9694dc74a266c26ad3b739a17f1e
|
|
| BLAKE2b-256 |
84eef5a79181ba0bcbd8f53e5a4fc30f762bb32b1c5b46568c4c6ac353efeb9a
|
File details
Details for the file nfisis-0.0.3-py3-none-any.whl.
File metadata
- Download URL: nfisis-0.0.3-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a3af92d9f67cca1ca4d311960416b51ac5d76869a0055e5e8dd12854bb77311
|
|
| MD5 |
e7cbd9efd2d6ae73ae0a5ed261ce317c
|
|
| BLAKE2b-256 |
a9734f11769834e9ae79080be4574e59cecf62349835af6eb1d5a3e91d8de3b6
|