Popular Interval Type 2 Fuzzy Sets
- pyit2fls.IT2FS_Elliptic(domain, params, check_set=False)
Creates an elliptic IT2FS.
Parameters
domain : numpy (n,) shaped array
Indicates the universe of discourse dedicated to the IT2FS.
params : list
The parameters of the elliptic IT2FS. The center, width, UMF’s exponent, LMF’s exponent, and height are indicated by params[0], params[1], params[2], params[3], and params[4], respectively.
Returns
output : IT2FS
Returns an elliptic IT2FS with specified parameters.
Examples
>>> domain = linspace(0., 1., 100) >>> mySet = IT2FS_Elliptic(domain, [0.5, 0.25, 1.3, 0.7, 0.8]) >>> mySet.plot()
- pyit2fls.IT2FS_Semi_Elliptic(domain, params, check_set=False)
Creates a semi-elliptic IT2FS.
Parameters
domain : numpy (n,) shaped array
Indicates the universe of discourse dedicated to the IT2FS.
params : list
The parameters of the semi-elliptic IT2FS. The center, UMF’s width, LMF’s width, and height are indicated by params[0], params[1], params[2], and params[3], respectively.
Returns
output : IT2FS
Returns a semi-elliptic IT2FS with specified parameters.
Examples
>>> domain = linspace(0., 1., 100) >>> mySet = IT2FS_Semi_Elliptic(domain, [0.5, 0.15, 0.05, 0.6]) >>> mySet.plot()
- pyit2fls.IT2FS_Gaussian_UncertMean(domain, params, check_set=False)
Creates a Gaussian IT2FS with uncertain mean value.
Parameters
domain : numpy (n,) shaped array
Indicates the universe of discourse dedicated to the IT2FS.
params : list
The parameters of the Gaussian IT2FS with uncertain mean value. The mean center, mean spread, standard deviation, and height are indicated by params[0], params[1], params[2], and params[3], respectively.
Returns
output : IT2FS
Returns a Gaussian IT2FS with uncertain mean value with specified parameters.
Examples
>>> domain = linspace(0., 1., 100) >>> mySet = IT2FS_Gaussian_UncertMean(domain, [0., 0.25, 0.2]) >>> mySet.plot()
- pyit2fls.IT2FS_Gaussian_UncertStd(domain, params, check_set=False)
Creates a Gaussian IT2FS with uncertain standard deviation value.
Parameters
domain : numpy (n,) shaped array
Indicates the universe of discourse dedicated to the IT2FS.
params : list
The parameters of the Gaussian IT2FS with uncertain standard deviation value, the mean, standard deviation center, standard deviation spread, and height are indicated by params[0], params[1], params[2], and params[3], respectively.
Returns
output : IT2FS
Returns a Gaussian IT2FS with uncertain standard deviation value with specified parameters.
Examples
>>> domain = linspace(0., 1., 100) >>> mySet = IT2FS_Gaussian_UncertStd(domain, [0.5, 0.2, 0.05, 1.]) >>> mySet.plot()
- pyit2fls.IT2FS_RGaussian_UncertStd(domain, params, check_set=False)
Creates a Right Gaussian IT2FS with uncertain standard deviation value.
Parameters
domain : numpy (n,) shaped array
Indicates the universe of discourse dedicated to the IT2FS.
params : list
The parameters of the Gaussian IT2FS with uncertain standard deviation value, the mean, standard deviation center, standard deviation spread, and height are indicated by params[0], params[1], params[2], and params[3], respectively.
Returns
output : IT2FS
Returns a Gaussian IT2FS with uncertain standard deviation value with specified parameters.
Examples
>>> domain = linspace(0., 1., 100) >>> mySet = R_IT2FS_Gaussian_UncertStd(domain, [0.5, 0.2, 0.05, 1.]) >>> mySet.plot()
- pyit2fls.IT2FS_LGaussian_UncertStd(domain, params, check_set=False)
Creates a Left Gaussian IT2FS with uncertain standard deviation value.
Parameters
domain : numpy (n,) shaped array
Indicates the universe of discourse dedicated to the IT2FS.
params : list
The parameters of the Gaussian IT2FS with uncertain standard deviation value, the mean, standard deviation center, standard deviation spread, and height are indicated by params[0], params[1], params[2], and params[3], respectively.
Returns
- outputIT2FS
Returns a Gaussian IT2FS with uncertain standard deviation value with specified parameters.
Examples
>>> domain = linspace(0., 1., 100) >>> mySet = L_IT2FS_Gaussian_UncertStd(domain, [0.5, 0.2, 0.05, 1.]) >>> mySet.plot()