With the continuous expansion of software scale,software update and maintenance have become more and more important.However,frequent software code updates will make the software more likely to introduce new defects.So...With the continuous expansion of software scale,software update and maintenance have become more and more important.However,frequent software code updates will make the software more likely to introduce new defects.So how to predict the defects quickly and accurately on the software change has become an important problem for software developers.Current defect prediction methods often cannot reflect the feature information of the defect comprehensively,and the detection effect is not ideal enough.Therefore,we propose a novel defect prediction model named ITNB(Improved Transfer Naive Bayes)based on improved transfer Naive Bayesian algorithm in this paper,which mainly considers the following two aspects:(1)Considering that the edge data of the test set may affect the similarity calculation and final prediction result,we remove the edge data of the test set when calculating the data similarity between the training set and the test set;(2)Considering that each feature dimension has different effects on defect prediction,we construct the calculation formula of training data weight based on feature dimension weight and data gravity,and then calculate the prior probability and the conditional probability of training data from the weight information,so as to construct the weighted bayesian classifier for software defect prediction.To evaluate the performance of the ITNB model,we use six datasets from large open source projects,namely Bugzilla,Columba,Mozilla,JDT,Platform and PostgreSQL.We compare the ITNB model with the transfer Naive Bayesian(TNB)model.The experimental results show that our ITNB model can achieve better results than the TNB model in terms of accurary,precision and pd for within-project and cross-project defect prediction.展开更多
The three-dimensional weight function method recently developed by the authors is used to determine stress intensity factors for two symmetric quarter-elliptical corner cracks at a hole in a wide finite-thickness plat...The three-dimensional weight function method recently developed by the authors is used to determine stress intensity factors for two symmetric quarter-elliptical corner cracks at a hole in a wide finite-thickness plate subjected to remote tensile loading. The geometry parameters considered are r / t = 0.5, 1, 2; a / c= 0.2, 0.5, 1, 2; a / t = 0.2, 0.5 within c/r= 2. The results are compared, where possible, with other solutions available in the literature. Generally good agreement is observed. The effect of an approximation of the two-dimensional unflawed stress distribution on the accuracy of stress intensity factors by the weight function method is discussed.展开更多
The weight hierarchy of a linear[n;k;q]code C over GF(q) is the sequence(d_1,d_2,…,d_k)where d_r is the smallest support of any r-dimensional subcode of C. "Determining all possible weight hierarchies of general...The weight hierarchy of a linear[n;k;q]code C over GF(q) is the sequence(d_1,d_2,…,d_k)where d_r is the smallest support of any r-dimensional subcode of C. "Determining all possible weight hierarchies of general linear codes" is a basic theoretical issue and has important scientific significance in communication system.However,it is impossible for g-ary linear codes of dimension k when q and k are slightly larger,then a reasonable formulation of the problem is modified as: "Determine almost all weight hierarchies of general g-ary linear codes of dimension k".In this paper,based on the finite projective geometry method,the authors study g-ary linear codes of dimension 5 in class IV,and find new necessary conditions of their weight hierarchies,and classify their weight hierarchies into6 subclasses.The authors also develop and improve the method of the subspace set,thus determine almost all weight hierarchies of 5-dimensional linear codes in class IV.It opens the way to determine the weight hierarchies of the rest two of 5-dimensional codes(classes III and VI),and break through the difficulties.Furthermore,the new necessary conditions show that original necessary conditions of the weight hierarchies of k-dimensional codes were not enough(not most tight nor best),so,it is important to excogitate further new necessary conditions for attacking and solving the fc-dimensional problem.展开更多
基金This work is supported in part by the National Science Foundation of China(Nos.61672392,61373038)in part by the National Key Research and Development Program of China(No.2016YFC1202204).
文摘With the continuous expansion of software scale,software update and maintenance have become more and more important.However,frequent software code updates will make the software more likely to introduce new defects.So how to predict the defects quickly and accurately on the software change has become an important problem for software developers.Current defect prediction methods often cannot reflect the feature information of the defect comprehensively,and the detection effect is not ideal enough.Therefore,we propose a novel defect prediction model named ITNB(Improved Transfer Naive Bayes)based on improved transfer Naive Bayesian algorithm in this paper,which mainly considers the following two aspects:(1)Considering that the edge data of the test set may affect the similarity calculation and final prediction result,we remove the edge data of the test set when calculating the data similarity between the training set and the test set;(2)Considering that each feature dimension has different effects on defect prediction,we construct the calculation formula of training data weight based on feature dimension weight and data gravity,and then calculate the prior probability and the conditional probability of training data from the weight information,so as to construct the weighted bayesian classifier for software defect prediction.To evaluate the performance of the ITNB model,we use six datasets from large open source projects,namely Bugzilla,Columba,Mozilla,JDT,Platform and PostgreSQL.We compare the ITNB model with the transfer Naive Bayesian(TNB)model.The experimental results show that our ITNB model can achieve better results than the TNB model in terms of accurary,precision and pd for within-project and cross-project defect prediction.
文摘The three-dimensional weight function method recently developed by the authors is used to determine stress intensity factors for two symmetric quarter-elliptical corner cracks at a hole in a wide finite-thickness plate subjected to remote tensile loading. The geometry parameters considered are r / t = 0.5, 1, 2; a / c= 0.2, 0.5, 1, 2; a / t = 0.2, 0.5 within c/r= 2. The results are compared, where possible, with other solutions available in the literature. Generally good agreement is observed. The effect of an approximation of the two-dimensional unflawed stress distribution on the accuracy of stress intensity factors by the weight function method is discussed.
基金supported by the National Natural Science Foundation of China under Grant No.11171366"the Fundamental Research Funds for the Central Universities"South-Central University for Nationalities under Grant No.CZY12014
文摘The weight hierarchy of a linear[n;k;q]code C over GF(q) is the sequence(d_1,d_2,…,d_k)where d_r is the smallest support of any r-dimensional subcode of C. "Determining all possible weight hierarchies of general linear codes" is a basic theoretical issue and has important scientific significance in communication system.However,it is impossible for g-ary linear codes of dimension k when q and k are slightly larger,then a reasonable formulation of the problem is modified as: "Determine almost all weight hierarchies of general g-ary linear codes of dimension k".In this paper,based on the finite projective geometry method,the authors study g-ary linear codes of dimension 5 in class IV,and find new necessary conditions of their weight hierarchies,and classify their weight hierarchies into6 subclasses.The authors also develop and improve the method of the subspace set,thus determine almost all weight hierarchies of 5-dimensional linear codes in class IV.It opens the way to determine the weight hierarchies of the rest two of 5-dimensional codes(classes III and VI),and break through the difficulties.Furthermore,the new necessary conditions show that original necessary conditions of the weight hierarchies of k-dimensional codes were not enough(not most tight nor best),so,it is important to excogitate further new necessary conditions for attacking and solving the fc-dimensional problem.