摘要:This issue will introduce the comparative analysis of the intensively read replica paper "Emergency decision-making method based o
分享兴趣,传播快乐,
增长见闻,留下美好。
亲爱的您,这里是LearingYard学苑!
今天小编为您带来
“越览(108)——精读复刻论文
《基于多粒度概率语言和双参照点的
应急决策方法》对比分析(5)。”
欢迎您的访问!
Share interest, spread happiness,
increase Knowledge, and leave beautiful.
Dear, this is the LearingYard Academy!
Today, the editor brings the
"Yue Lan(108)—intensive reading replica paper
'Emergency decision-making method based on
multi-granularity probability language
and dual reference points
'comparative analysis (5)".
Welcome to visit!
一、内容摘要(Summary of content)
本期推文将从思维导图、精读内容、知识补充三个方面介绍精读复刻论文《基于多粒度概率语言和双参照点的应急决策方法》的对比分析(5)。
This issue will introduce the comparative analysis of the intensively read replica paper "Emergency decision-making method based on multi-granularity probability language and dual reference points" in terms of mind maps, intensively read content, and knowledge supplementation.
二、思维导图(Mind mapping)
三、精读内容(Intensive reading content)
为了验证本文所提方法的有效性和优越性,本文将从关键风险因素的权重确定方法和可行方案的选择方法两个方面与现有的方法进行了对比分析。在关键风险因素权重确定方法的比较分析中,选用了四个不同文献中的方法来计算各项关键因素风险的权重。另外还采用了Pearson相关系数研究本文方法与现有方法的相关关系。
In order to verify the effectiveness and superiority of the proposed method, this paper will compare and analyze the existing methods from two aspects: the method of determining the weight of key risk factors and the method of selecting feasible solutions. In the comparative analysis of the method of determining the weight of key risk factors, four methods from different literatures were selected to calculate the weight of each key factor risk. In addition, the Pearson correlation coefficient was used to study the correlation between the proposed method and the existing methods.
本周基于决策成员使用数字标度表征各项风险因素的重要度,结合给定的决策者权重确定各项风险因素的权重。代码如下图所示:
This week, based on the decision-making members using a numerical scale to represent the importance of each risk factor, combined with the given decision-maker weight, the weight of each risk factor is determined. The code is shown in the figure below:
The operation results are shown in the figure below:
四、知识补充(Knowledge supplement)
在MATLAB中编写代码时,可能会遇到多种常见问题。以下是一些典型的问题及其解决办法:
There are many common problems you may encounter when writing code in MATLAB. Here are some typical problems and their solutions:
1. 索引错误(Index error)
问题描述:尝试访问数组或矩阵中不存在的元素。
Problem Description: An attempt was made to access an element that does not exist in an array or matrix.
解决办法:确保索引值在合法范围内。使用size函数检查数组维度,避免使用负数、零或超出范围的索引。
Solution: Make sure the index value is within the legal range. Use the size function to check the array dimensions and avoid using negative, zero, or out-of-range indices.
2. 数据类型不匹配(Data type mismatch)
问题描述:操作要求特定的数据类型,但提供的数据类型不符(如试图对字符串执行数学运算)。
Problem Description: An operation requires a specific data type, but the data type provided does not match (such as trying to perform a mathematical operation on a string).
解决办法:使用class检查变量类型,并在必要时进行转换(例如使用double将字符转为数值)。
Solution: Use class to check the variable type and convert it if necessary (for example, use double to convert a character to a numeric value).
3. 循环和条件语句中的逻辑错误(Logical errors in loops and conditional statements)
问题描述:循环或条件语句没有按预期执行,可能是由于逻辑判断错误。
Problem description: The loop or conditional statement does not execute as expected, possibly due to a logical judgment error.
解决办法:仔细检查循环边界条件和逻辑运算符(如&&, ||),使用调试工具逐步执行代码以跟踪程序流。
Solution: Carefully check loop boundary conditions and logical operators (such as &&, ||), and use debugging tools to step through the code to track program flow.
4. 函数定义位置不当(Improper function definition location)
问题描述:脚本中的函数定义必须出现在所有主程序代码之后。
Problem description: Function definitions in a script must appear after all main program code.
解决办法:确保所有函数定义位于文件末尾,并且主程序代码位于前面。
Solution: Make sure all function definitions are at the end of the file and the main program code is at the beginning.
5. 矩阵维度不一致(Matrix dimensions are inconsistent)
问题描述:在进行矩阵运算时,参与运算的矩阵维度不兼容。
Problem description: When performing matrix operations, the matrix dimensions involved in the operation are incompatible.
解决办法:使用size确认矩阵尺寸,考虑是否需要转置(.')或者调整运算方式(如点乘.*代替矩阵乘法*)。
Solution: Use size to confirm the matrix size and consider whether it needs to be transposed (.') or the operation method needs to be adjusted (such as dot multiplication .* instead of matrix multiplication *).
6. 内存不足(Out of memory)
问题描述:处理大数据集时可能导致内存溢出。
Problem Description: Memory overflow may occur when processing large data sets.
解决办法:优化数据结构,分批处理数据,或利用MATLAB的内置函数如tall arrays来处理大型数据集。
Solution: Optimize data structure, process data in batches, or use MATLAB's built-in functions such as tall arrays to handle large data sets.
7. 路径问题(Path problem)
问题描述:无法找到自定义函数或外部数据文件。
Problem Description: Unable to find custom function or external data file.
解决办法:使用addpath添加必要的目录到搜索路径中,或者确保当前工作目录设置正确(通过cd命令)。
Solution: Use addpath to add the necessary directories to the search path, or make sure the current working directory is set correctly (via the cd command).
8. 图形界面相关问题(Graphical interface related issues)
问题描述:创建GUI时可能出现布局混乱或其他显示问题。
Problem Description: Layout confusion or other display problems may occur when creating a GUI.
解决办法:学习并遵循GUIDE或App Designer的最佳实践指南,注意组件属性设置的一致性。
Solution: Learn and follow the best practice guidelines of GUIDE or App Designer, and pay attention to the consistency of component property settings.
9. 性能瓶颈(Performance bottleneck)
问题描述:代码运行缓慢,尤其是在涉及大量计算时。
Problem Description: The code runs slowly, especially when a lot of calculations are involved.
解决办法:优化算法效率,减少不必要的循环,利用向量化操作,启用并行计算功能等。
Solution: Optimize algorithm efficiency, reduce unnecessary loops, use vectorized operations, enable parallel computing functions, etc.
10. 版本兼容性(Version compatibility)
问题描述:不同MATLAB版本之间存在语法或功能差异。
Problem Description: There are syntax or functionality differences between different MATLAB versions.
解决办法:查阅官方文档了解各版本之间的变化,尽量使用向下兼容的写法,测试代码在目标版本上的表现。
Solution: Check the official documentation to understand the changes between versions, try to use backward-compatible writing methods, and test the performance of the code on the target version.
今天的分享就到这里了。
如果您对文章有独特的想法,
欢迎给我们留言,让我们相约明天。
祝您今天过得开心快乐!
That's all for today's sharing.
If you have a unique idea about the article,
please leave us a message,
and let us meet tomorrow.
I wish you a nice day!
文案|yyz
排版|yyz
审核|hzy
翻译:火山翻译
参考资料:百度百科、Chat GPT
参考文献:于文玉.基于多粒度犹豫模糊语言信息的多属性群决策方法研究[D].大连理工大学, 2021.
本文由LearningYard学苑整理发出,如有侵权请在后台留言!
来源:LearningYard学苑