基于多项式朴素贝叶斯算法的编程代码构建方法研究  

Research on Programming Code Construction Method Based on Multinomial Naive Bayesian Algorithm

在线阅读下载全文

作  者:夏平[1] Xia Ping(School of Artificial Intelligence,Nanjing Vocational College of Information Technology,Nanjing 210023,China)

机构地区:[1]南京信息职业技术学院人工智能学院,南京210023

出  处:《信息化研究》2023年第6期42-46,共5页INFORMATIZATION RESEARCH

基  金:南京信息职业技术学院课程建设项目(No.X202249)。

摘  要:编程代码构建成功,意味着软件项目已经具备了可运行可使用的属性,达到了项目的要求,符合软件工程的标准和规范,是软件开发人员所追求的目标。Github作为全球最大的代码托管平台之一,拥有丰富的代码库和强大的版本控制功能,集成了多种开发工具,可以自动测试和部署程序。然而,由于其代码构建本身的机制问题,针对项目由多代码文件组成的情况,在项目构建的时候,会出现反复检测未有任何修改的代码文件,从而导致项目构建成功率不高的问题,这些问题会挫伤开发者的积极性。针对该问题,本文通过分析平台项目代码管理的工作流程情况,基于代码仓库的检测模型,使用多项式朴素贝叶斯(MNB)算法实现了一种基于离散特征的文本分类检测系统,能够对多代码文件进行前置筛查和过滤,使用本文所提出的方法能够快速剔除无效的代码文件检测,提高软件项目构建的成功率。The successful construction of programming code means that the software project has already possessed operational and usable properties,met the requirements of the project,met the standards and specifications of software engineering,and is the goal pursued by software developers.Git hub,as one of the world's largest code hosting platforms,has a rich code library and powerful version control functions.It integrates multiple development tools and can automatically test and deploy programs,making it a fertile ground for programming technicians.However,due to the inherent mechanism of code construction,when a project is composed of multiple code files,repeated detection of unmodified code files may occur during project construction,resulting in a low success rate of project construction.These issues can dampen the enthusiasm of developers.In response to this issue,the article analyzes the workflow of platform project code management and implements a text classification and detection system based on discrete features using multinomial naive Bayes algorithm based on a code warehouse detection model.It can pre screen and filter multiple code files,and the method proposed in the article can quickly eliminate invalid code file detection,improving the success rate of software project construction.

关 键 词:代码仓库 构建 文本分类 多项式朴素贝叶斯 

分 类 号:TP393.098[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象