Skip to content

Commit

Permalink
Minor edits ...
Browse files Browse the repository at this point in the history
  • Loading branch information
Haghrah committed Dec 15, 2024
1 parent 5899326 commit 5836d89
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Thank you for your contribution, which helps maintain and improve this project!

### Features coming up in the next version
- Supporting Generalized Type 2 Fuzzy Sets and Systems.
- Supporting FCL.
- Introduction of a GUI for facilitating system design.


### Some notes on version 0.8.0
- Starting initial support of machine learning models based on fuzzy systems. Based on optimization for execution time or linguistic interpretability of the results, these models may have different computational efficiencies.
Expand Down
4 changes: 2 additions & 2 deletions docs/functions.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Functions
====================

.. autofunction:: pyit2fls.T1_Emphasize
.. autofunction:: pyit2fls.T1FS_Emphasize

.. autofunction:: pyit2fls.T1FS_plot

.. autofunction:: pyit2fls.T1FS_AND

.. autofunction:: pyit2fls.T1FS_OR

.. autofunction:: pyit2fls.IT2_Emphasize
.. autofunction:: pyit2fls.IT2FS_Emphasize

.. autofunction:: pyit2fls.IT2FS_plot

Expand Down
8 changes: 4 additions & 4 deletions examples/ex_15.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
@author: arslan
"""

from pyit2fls import (IT2FS_Gaussian_UncertMean, IT2_Emphasize, IT2FS_plot,
T1FS, gaussian_mf, T1_Emphasize, T1FS_plot)
from pyit2fls import (IT2FS_Gaussian_UncertMean, IT2FS_Emphasize, IT2FS_plot,
T1FS, gaussian_mf, T1FS_Emphasize, T1FS_plot)
from numpy import linspace

domain = linspace(0., 1., 101)


IT2mySet = IT2FS_Gaussian_UncertMean(domain, [0.5, 0.1, 0.2, 1.], check_set=True)
IT2Emphasized_mySet = IT2_Emphasize(IT2mySet, m=3.)
IT2Emphasized_mySet = IT2FS_Emphasize(IT2mySet, m=3.)
IT2FS_plot(IT2mySet, IT2Emphasized_mySet, legends=["Simple", "Emphasized"])


T1mySet = T1FS(domain, mf=gaussian_mf, params=[0.5, 0.1, 1.])
T1Emphasized_mySet = T1_Emphasize(T1mySet, m=3.)
T1Emphasized_mySet = T1FS_Emphasize(T1mySet, m=3.)
T1FS_plot(T1mySet, T1Emphasized_mySet, legends=["Simple", "Emphasized"])


Expand Down
4 changes: 2 additions & 2 deletions pyit2fls/pyit2fls.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def plot(self, title=None, legends=None, filename=None,
plt.show()


def T1_Emphasize(t1fs, m=2.):
def T1FS_Emphasize(t1fs, m=2.):
"""
Function for creating emphasized T1FSs.
Expand Down Expand Up @@ -1650,7 +1650,7 @@ def __neg__(self):
return neg_it2fs


def IT2_Emphasize(it2fs, m=2.):
def IT2FS_Emphasize(it2fs, m=2.):
"""
Function for creating emphasized IT2FSs.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = f.read()

setup(name='pyit2fls',
version='0.8.0',
version='0.8.1',
description='Type 1 and Interval Type 2 Fuzzy Logic Systems in Python',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 5836d89

Please sign in to comment.