Skip to content

Commit f745367

Browse files
committed
Some updates ...
1 parent 23208ea commit f745367

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,36 +90,36 @@ There are some examples provided along with the toolkit which are as below:
9090
* [Ex14](https://github.com/Haghrah/PyIT2FLS/blob/master/examples/ex_14.py): MIMO Type 1 Mamdani Fuzzy Logic System. **(PyIT2FLS v0.6.0 and upper)**
9191
* [Ex15](https://github.com/Haghrah/PyIT2FLS/blob/master/examples/ex_15.py): MIMO Type 1 TSK Fuzzy Logic System. **(PyIT2FLS v0.6.0 and upper)**
9292
* [Ex16](https://github.com/Haghrah/PyIT2FLS/blob/master/examples/ex_16.py): Using emphasize function for type 1 and interval type 2 fuzzy sets. **(PyIT2FLS v0.7.0 and upper)**
93-
* [Ex17](https://github.com/Haghrah/PyIT2FLS/blob/master/examples/ex_17.py): Some operators of fuzzy matrices. **(PyIT2FLS v0.7.0 and upper)**
93+
* [Ex17](https://github.com/Haghrah/PyIT2FLS/blob/master/examples/ex_17.py): Example concerning fuzzy matrices. **(PyIT2FLS v0.7.0 and upper)**
9494
* [Ex18](https://github.com/Haghrah/PyIT2FLS/blob/master/examples/ex_18.py): Defining random rules and random sets for IT2F classifier with three inputs and one output (Based on the request of one of the users). **(PyIT2FLS v0.7.0 and upper)**
9595

9696

9797
### Some output plots
9898

9999
* Ex4:
100100

101-
<img src="examples/images/4_2.png" width="256"> <img src="examples/images/4_4.png" width="256">
101+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/4_2.png" width="256"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/4_4.png" width="256">
102102

103103
* Ex5:
104104

105-
<img src="examples/images/5_1.png" width="128"> <img src="examples/images/5_2.png" width="128"> <img src="examples/images/5_3.png" width="128"> <img src="examples/images/5_4.png" width="128">
105+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/5_1.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/5_2.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/5_3.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/5_4.png" width="128">
106106

107107
* Ex6:
108108

109-
<img src="examples/images/6_1.png" width="128"> <img src="examples/images/6_2.png" width="128"> <img src="examples/images/6_3.png" width="128"> <img src="examples/images/6_4.png" width="128">
109+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_1.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_2.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_3.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_4.png" width="128">
110110

111-
<img src="examples/images/6_5.png" width="128"> <img src="examples/images/6_6.png" width="128"> <img src="examples/images/6_7.png" width="128"> <img src="examples/images/6_8.png" width="128">
111+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_5.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_6.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_7.png" width="128"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/6_8.png" width="128">
112112

113113
* Ex9:
114114

115-
<img src="examples/images/9_1.png" width="512">
115+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/9_1.png" width="512">
116116

117-
<img src="examples/images/9_2.png" width="512">
117+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/9_2.png" width="512">
118118

119-
<img src="examples/images/IT2TSKFLSY1.png" width="256"> <img src="examples/images/IT2TSKFLSY2.png" width="256">
119+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/IT2TSKFLSY1.png" width="256"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/IT2TSKFLSY2.png" width="256">
120120

121121
* Ex10:
122122

123-
<img src="examples/images/10_1.png" width="256"> <img src="examples/images/10_3.png" width="256">
123+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/10_1.png" width="256"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/10_3.png" width="256">
124124

125-
<img src="examples/images/10_5.png" width="256"> <img src="examples/images/10_6.png" width="256">
125+
<img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/10_5.png" width="256"> <img src="https://raw.githubusercontent.com/Haghrah/PyIT2FLS/master/examples/images/10_6.png" width="256">

examples/ex_6.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
from pyit2fls import IT2FS, tri_mf, const_mf, rtri_mf, ltri_mf, \
1010
trapezoid_mf, gaussian_mf, IT2FS_Gaussian_UncertMean, \
11-
IT2FS_Gaussian_UncertStd, IT2FS_RGaussian_UncertStd, \
12-
IT2FS_LGaussian_UncertStd, IT2FS_plot
11+
IT2FS_Gaussian_UncertStd, R_IT2FS_Gaussian_UncertStd, \
12+
L_IT2FS_Gaussian_UncertStd, IT2FS_plot
1313
from numpy import linspace
1414

1515
domain = linspace(0, 1, 1001)
@@ -49,10 +49,10 @@
4949
Gaussian_UncertStd = IT2FS_Gaussian_UncertStd(domain, [0.5, 0.1, 0.05, 0.75])
5050
Gaussian_UncertStd.plot(legend_text="Gaussian IT2FS with Uncertain Std")
5151

52-
RGaussian_UncertStd = IT2FS_RGaussian_UncertStd(domain, [0.5, 0.1, 0.05, 0.8])
52+
RGaussian_UncertStd = R_IT2FS_Gaussian_UncertStd(domain, [0.5, 0.1, 0.05, 0.8])
5353
RGaussian_UncertStd.plot(legend_text="Right Gaussian IT2FS with Uncertain Std")
5454

55-
LGaussian_UncertStd = IT2FS_LGaussian_UncertStd(domain, [0.5, 0.1, 0.05, 0.8])
55+
LGaussian_UncertStd = L_IT2FS_Gaussian_UncertStd(domain, [0.5, 0.1, 0.05, 0.8])
5656
LGaussian_UncertStd.plot(legend_text="Left Gaussian IT2FS with Uncertain Std")
5757

5858

pyit2fls/pyit2fls.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,6 +1872,8 @@ def IT2FS_RGaussian_UncertStd(domain, params, check_set=False):
18721872
rgauss_uncert_std_lmf,
18731873
[params[0], stdl, stdr, params[3]], check_set=check_set)
18741874

1875+
R_IT2FS_Gaussian_UncertStd = IT2FS_RGaussian_UncertStd
1876+
18751877
def IT2FS_LGaussian_UncertStd(domain, params, check_set=False):
18761878
"""
18771879
Creates a Left Gaussian IT2FS with uncertain standard deviation value.
@@ -1915,6 +1917,8 @@ def IT2FS_LGaussian_UncertStd(domain, params, check_set=False):
19151917
[params[0], stdl, stdr, params[3]], check_set=check_set)
19161918

19171919

1920+
L_IT2FS_Gaussian_UncertStd = IT2FS_LGaussian_UncertStd
1921+
19181922
def IT2FS_plot(*sets, title=None, legends=None, filename=None,
19191923
ext="pdf", grid=True, xlabel="Domain", ylabel="Membership degree"):
19201924
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
long_description = f.read()
88

99
setup(name='pyit2fls',
10-
version='0.7.3',
10+
version='0.7.6',
1111
description='Type 1 and Interval Type 2 Fuzzy Logic Systems in Python',
1212
long_description=long_description,
1313
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)