Scikit-fuzzy

Latest version: v0.5.0

Safety actively analyzes 665902 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

At long last, a new release! Certainly deserving of a major point release, this release brings many important changes and fixes including:

Quality of life
- Forward compatibility with modern Python 3.x branches
- Drops compatibility with Python 2.x
- Move to pytest for CI as nose is no longer maintained
- Documentation and CI moved to GH-actions rather than Travis
- tox.ini to facilitate local testing in a virtual environment using tox
- The `lenient` parameter is now True by default for system simulations
- Update documentation infrastructure to Sphinx 8.x compliance
- Fixed Scipy compatibility with `pinv2` removed in favor of `pinv`
- setup.cfg removed in favor of pyproject.toml

Fixes
- Fixes to documentation (examples as well as docstrings)
- Style improvements throughout the package
- Fixed a subtle error in `piecemf`, and added new inverse `ipiecemf` function
- Fixed a bug which resulted in the `cmeans` `maxiter` stopping one short of the desired number of loops
- Fixed a bug in universe resampling which affected legacy `fuzzy_and` and `fuzzy_or`-like operations. This did not affect the `skfuzzy.control` API.

Thanks to all the contributors to this release since 0.4.2: wouter-vdb cclauss tjni nicksspirit phme283 kinow balins moetayuko MarcoMiretti and JDWarner !


GitHub AI generated release notes with specific PR references:

What's Changed
* Use spaces, not tabs by kinow in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/237
* Fix tipping problem new api example to work with py3 by kinow in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/242
* DOC: Overhaul doc build to work with Sphinx 1.8. by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/209
* Fix typos in user guide primer and in example code by kinow in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/252
* Update Python support. by wouter-vdb in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/265
* Minor cleanup by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/266
* Feature: Accept term labels as input values in a control system simulation. by wouter-vdb in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/270
* Correct doc for fuzzy c-means by moetayuko in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/271
* fix: Docs building issues. by wouter-vdb in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/269
* Lenient simulation by wouter-vdb in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/267
* Auto generate latest docs and deploy to GitHub pages by kinow in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/260
* Fix docs auto-deployment and limit it only to one travis env by balins in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/279
* Migrate to GitHub Actions by balins in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/280
* Correct documentation link by phme283 in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/292
* MAINT: Scipy removed `pinv2`, in favor of `pinv` by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/293
* Gitwash test by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/294
* fix(imports): pass matplotlib ImportError by MarcoMiretti in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/247
* Fix typos by kinow in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/236
* Upgrade GitHub Actions by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/300
* Adapt tests to numpy 1.25 by tjni in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/299
* Fix deprecation warning with `distutils` by nicksspirit in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/296
* TSTFIX: Temporarily limit test matrix to 3.9 by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/303
* nose2pytest: Drop the deprecated nosetest in favor of pytest by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/304
* Lint Python code with ruff instead of flake8 by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/305
* Migrate metadata from setup.py to setup.cfg by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/306
* ruff rule W605: Fix invalid escape sequences by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/309
* PEP 621: Migrate settings from setup.cfg into pyproject.toml by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/307
* Minor optimizations with ruff rules C4 and PERF by cclauss in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/308
* Fix Makefile for test and coverage using pytest. by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/322
* Remove spurious ToC link in doc build to nonexistant page. by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/323
* Fix longstanding error which occasionally eroded universes in classic API by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/324
* Bring forward PR 268 with fix to piecemf and new piecewise membership funcs. by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/325
* STY: Ignore .ipynb files which may exist in the package. by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/326
* RELEASE: Version 0.5.0 by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/327
* FIX: Correct limit on `maxiter` by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/328
* BUILD: Update pyproject.toml to request universal wheel. by JDWarner in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/329

New Contributors
* kinow made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/237
* moetayuko made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/271
* balins made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/279
* phme283 made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/292
* MarcoMiretti made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/247
* cclauss made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/300
* tjni made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/299
* nicksspirit made their first contribution in https://github.com/scikit-fuzzy/scikit-fuzzy/pull/296

**Full Changelog**: https://github.com/scikit-fuzzy/scikit-fuzzy/compare/v0.4.2...v0.5.0

0.4.2

This minor point release brings forward compatibility with NetworkX 2.4, which removed some prior methods of interactive with directed graphs. The changes remain backward compatible.

Thanks to wouter-vdb for the fixes contained herein.

The release is live on PyPi, installable via `pip` and will shortly be live on conda-forge.

0.4.1

This minor point release brings a number of improvements, most importantly compatibility with Python 3.7. Also:

* The number of membership functions is no longer restricted in `automf` (scikit-fuzzy206)
* Improvements to the documentation, especially for Consequents

In addition to the source release here, 0.4.1 is now live on PyPi.

Install/upgrade with

`pip install -U scikit-fuzzy`

0.4.0

This major point release brings bug fixes, efficiency improvements, and quality of life improvements.

* A bug was fixed in the `lom`/`som` methods; negative range now fully supported (189)
* Significant efficiency gains by streamlined linear algebra (187) (156)
* Names of nodes in the control system graph can now be displayed (166)
* Numerical improvement to `cmeans` for values of `m` close to 1.0 (154)

In addition to the source release here, 0.4.0 is now live on PyPi.

Install/upgrade with

`pip install -U scikit-fuzzy`

0.3.1

This minor point release brings a significant new feature and minor fixes/compatibility enhancements:

Major feature:

* Arrays are now accepted as system inputs; all inputs must have the same shape. The output matches this shape. This is dramatically more computationally efficient for repeated runs on existing data - within the limits of your system memory. (see 141)

Major fix

* Fixed the mathematical definition of `skfuzzy.gaussmf`; this is a potentially breaking change but the results are now correct (see 147).

Minor fixes

* NetworkX 2.0 forward compatibility (see 149 and 150)
* Improve and harmonize the .view() methods in skfuzzy.control (see 142 and 148)
* Update examples to use the above

0.3

This major point release includes a number of improvements, primarily to the `skfuzzy.control` submodule. A significant bug was squashed, the entire system is markedly more performant, and users can now more intuitively control the aggregation method.

* Fixed a memory leak on repeated, cached simulations not entirely flushing the cache (120)
* AND/OR aggregation methods are now directly exposed to the user (126)
* `np.interp` is used under the hood, resulting in major performance improvements (130)
* System visualization commands uniformly return both Matplotlib fig/axis objects, and better documented (133/136)

Thanks for using Scikit-Fuzzy, your reports keep making the package better!

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.