...
首页> 外文期刊>SN Applied Sciences >Software Metrics and tree‑based machine learning algorithms for distinguishing and detecting similar structure design patterns
【24h】

Software Metrics and tree‑based machine learning algorithms for distinguishing and detecting similar structure design patterns

机译:区分和检测相似结构设计模式的软件指标和基于树的机器学习算法

获取原文
获取原文并翻译 | 示例
           

摘要

Design patterns are general reusable solutions for recurrent occurring problems. When software systems become morecomplicated due to the lack of documentation of design patterns in software and the maintenance and evolution costsbecome a challenge. Design pattern detection is used to reduce the complexity and to increase the understandability ofthe design in the software. In this paper, we propose a design pattern detection approach based on tree-based machinelearning algorithms and software metrics to study the effectiveness of software metrics in distinguishing between similarstructural design patterns. We build our datasets using P-MARt repository by extracting the roles of design patterns andcalculating the metrics for each role. We used parameter optimization techniques based on the Grid search algorithm todefine the optimal parameter of each algorithm. We used two feature selection methods based on a genetic algorithmto find features that influence the most in the distinguishing process. Through our experimental study, we showed theeffectiveness of machine learning and software metrics when distinguishing similar structure design patterns. Moreover,we extracted the essential metrics in each dataset that supported the machine learning model to take its decision. Wepresented the detection conditions for each role in the design pattern by extracting them from the decision tree model.
机译:设计模式是针对反复出现的问题的通用可重用解决方案。当软件系统变得更多时由于缺少软件中设计模式的文档以及维护和演进成本,因此变得复杂成为挑战。设计模式检测可用于降低复杂性并提高产品的易懂性软件中的设计。本文提出了一种基于树型机器的设计模式检测方法学习算法和软件指标以研究软件指标在区分相似内容方面的有效性结构设计模式。我们通过提取设计模式的作用并使用P-MARt存储库来构建数据集。计算每个角色的指标。我们使用了基于Grid搜索算法的参数优化技术来定义每种算法的最佳参数。我们使用了两种基于遗传算法的特征选择方法寻找在区分过程中影响最大的特征。通过我们的实验研究,我们展示了区分相似的结构设计模式时,机器学习和软件指标的有效性。此外,我们提取了支持机器学习模型的每个数据集中的基本指标来做出决策。我们从决策树模型中提取了每个角色在设计模式中的检测条件。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号