Skip to main content

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
Thesis: http://dx.doi.org/10.13140/RG.2.2.25910.00324

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(X_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nfisis-0.0.5.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nfisis-0.0.5-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file nfisis-0.0.5.tar.gz.

File metadata

  • Download URL: nfisis-0.0.5.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for nfisis-0.0.5.tar.gz
Algorithm Hash digest
SHA256 46909221f4217051726a93ae739679dd5cca51a95a4bdbde3f31d9cad78352c3
MD5 58029ec9bcc57ed2291811b8141f687a
BLAKE2b-256 9b92c53537689103428e20e4ef54e3a43019c7b2f061d6bb31c549f89bfbc0a2

See more details on using hashes here.

File details

Details for the file nfisis-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: nfisis-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for nfisis-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 88a2295f6dca2bbece771445e7f1258b67f4accd54a94a00f1a5a8d25ab780eb
MD5 b5af815621015ee02fbeabfba512a802
BLAKE2b-256 916a66ff8262e501e235109cc58eff3f4d1364d779910c50fda93e4d1a984957

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page