Releases: yibocat/MohuPy
v0.3.0
version: 0.3.0
更新日期: 4.13.2024
主要更新内容:
- 新增模糊张量
Fuzztensor
。Fuzztensor
基于Fuzzarray
。相比于Fuzzarray
,Fuzztensor
增加了以 q-rung orthopair fuzzy
number 为基本元素的复杂运算,包括 q-rung orthopair fuzzy function 的求导,以及复杂函数的自动微分。 需要注意,q-rung orthopair
fuzzy function 的求导与计算参考文献如下:[1] Gao J, Liang Z, Shang J, et al. Continuities, Derivatives, and Differentials of q-Rung Orthopair Fuzzy Functions[J].
IEEE Transactions on Fuzzy Systems, 2018, 27(8): 1687–1699.[2] Lei Q, Xu Z. Fundamental properties of intuitionistic fuzzy calculus[J]. Knowledge-Based Systems, 2015, 76: 1–16.
[3] Ai Z, Xu Z, Yager R. R., et al. Q-Rung Orthopair Fuzzy Integrals in the Frame of Continuous Archimedean T-Norms
and T-Conorms and Their Application[J]. IEEE Transactions on Fuzzy Systems, 2021, 29(5): 996–1007.[4] Gao J, Liang Z, Xu Z. Additive Integrals of q-Rung Orthopair Fuzzy Functions[J].
IEEE Transactions on Cybernetics, 2020, 50(10): 4406–4419.[5] Lei Q, Xu Z. Derivative and Differential Operations of Intuitionistic Fuzzy Numbers[J].
International Journal of Intelligent Systems, 2015, 30(4): 468–498. - 设置了全局模糊数类型,默认为
qrofn
。修改方法通过mp.set_mtype()
来进行设置。注意:模糊数类型仅满足qrofn
,ivfn
和qrohfn
,
分别表示 q-rung orthopair fuzzy number, inter-valued q-rung orthopair fuzzy number 和 q-rung orthopair hesitant fuzzy number。 - 对整体结构进行了重构, 优化了计算性能。关键的模糊数计算部分移动至 core 文件。
- 设置了配置文件,通过
mp.config.Config
可以进行查看。
What's Changed
- Update: 0.2.4-1.31.2024 by @yibocat in #2
- Update: 0.2.8-4.6.2024: Update version 2.8 by @yibocat in #3
Full Changelog: v0.2.4-beta.2...v0.3.0-beta
v0.2.4-beta.2
Full Changelog: v0.2.4-beta.1...v0.2.4-beta.2
v0.2.4-beta.1
Update: 0.2.4-1.17.2024
v0.2.4-beta
0.2.4-1-17.2024
- Fixed some bugs
- Fixed the bug of reading csv files
- Updated some errors that are not prompted by the method
Full Changelog: v0.2.3-beta...v0.2.4-beta
v0.2.3-beta
version: 0.2.3-12-19.2023
Updated the adapted Python version, the adapted Python version 'python > = 3.8 '
Full Changelog: v0.2.2-beta...v0.2.3-beta
v0.2.2-beta
version: 0.2.2-12-17.2023
- Changed the comparison rule of fuzzy numbers to use score score values for comparison
- Fixed calculation issue of Choquet integral
- Fixed the bug of
random.choice( )
(replace parameter problem) - Fixed the bug that the
str2fuzz( )
function may not be able to convert when converting the 'qrohfn' type - Updated the
random.rand
method in therandom
module, adjusted qrohfn, and added parameters minnum and maxnum to represent the minimum and maximum number of membership degrees
Full Changelog: v0.2.1-beta...v0.2.2-beta
v0.2.1-beta
version: 0.2.1-11-30.2023
- Fixed bugs in
Fuzzarray.md
andFuzzarray.nmd
. - Fixed
comp
attribute bug whenmtype ='qrohfn'
. - Fixed addition and multiplication bugs for
mtype ='qrohfn'
. - Fixed some bugs in
fuzzset
:Fuzzset (None)
could not be generated- Fixed
fuzzset
high-dimensional array being expanded
- Fixed
fuzznum
failing to generatefuzznum (None)
- Updated requirements.txt file
Full Changelog: 0.2.0-beta...v0.2.1-beta
v0.2.0-beta
version: 0.2.0
Update Date: 11.29.2023
Main updates:
- Refactor the core code, update the fuzzy set class to
Fuzzarray
, and integrate the fuzzy number set into a fuzzy set classFuzznum
; - Add regedit, all methods create a new dictionary through'core. Registry () 'and save it to the'regedit' file;
- Reconstruct the Archimedean computational norm framework, integrate it into the'src 'file, and build the Archimedean regedit dictionary, which can be viewed directly through mohupy.archimedeanDict;
- Build the Library, and call the registered method through the Library;
- Create the configuration config folder (subsequent update), currently config only contains the transformation configuration of the T norm, but does not yet support Einstein operations;
- The original'mohuset 'content is deprecated, and some method names have changed
str2num
->str2fuzz
asfuzzset
->asfuzzarray
is_valid
->isValid
is_empty
->isEmpty
max
->getmax
min
->getmin
sum
->getsum
prod
->getprod
Noting: 0.2.0 version fixes most of the previous bugs, in addition, versions below the 0.2.0 version are not compatible.
Full Changelog: v0.1.8-beta.2...0.2.0-beta
v0.1.8-beta.2
version: 0.1.8-11.25.2023
- Fixed the bug that Choquet integral could not be calculated normally
Full Changelog: v0.1.8-beta.1...v0.1.8-beta.2
v0.1.8-beta.1
Fixed some bugs
Full Changelog: v0.1.8-beta...v0.1.8-beta.1