Context: Software defect prediction plays a crucial role in estimating the most defect-prone components of software, and a large number of studies have pursued improving prediction accuracy within a project or across projects. However, the rules for making an appropriate decision between within-and cross-project defect prediction when available historical data are insufficient remain unclear.Objective: The objective of this work is to validate the feasibility of the predictor built with a simplified metric set for software defect prediction in different scenarios, and to investigate practical guidelines for the choice of training data, classifier and metric subset of a given project. Method: First, based on six typical classifiers, three types of predictors using the size of software metric set were constructed in three scenarios. Then, we validated the acceptable performance of the predictor based on Top-k metrics in terms of statistical methods. Finally, we attempted to minimize the Top-k metric subset by removing redundant metrics, and we tested the stability of such a minimum metric subset with one-way ANOVA tests. Results: The study has been conducted on 34 releases of 10 open-source projects available at the PROMISE repository. The findings indicate that the predictors built with either Top-k metrics or the minimum metric subset can provide an acceptable result compared with benchmark predictors. The guideline for choosing a suitable simplified metric set in different scenarios is presented in Table 12. Conclusion: The experimental results indicate that (1) the choice of training data for defect prediction should depend on the specific requirement of accuracy; (2) the predictor built with a simplified metric set works well and is very useful in case limited resources are supplied; (3) simple classifiers (e.g., Naïve Bayes) also tend to perform well when using a simplified metric set for defect prediction; (4) in several cases, the minimum metric subset can be identified to facilitate the procedure of general defect prediction with acceptable loss of prediction precision in practice.
The selective extraction of baicalin is important to its quality control especially when the matrices are complicated. In this work, a novel molecularly imprinted polymer was prepared for the selective extraction of baicalin in herbs. The molecularly imprinted polymer was synthesized by the copolymerization of 4-vinyl pyridine and ethylene glycol dimethacrylate in the presence of baicalin by a precipitation polymerization method. After the optimization of parameters for molecularly imprinted polymer preparation, including the functional monomer, porogen, sampling solvent, and washing solvent, good selectivity was obtained, with an imprinting factor of about 4, which is much better than that achieved by the bulk-polymerization method. The performances of the prepared molecularly imprinted polymers were systematically investigated, including adsorption kinetics, isotherm experiment, and Scatchard analysis. On the basis of the good adsorptive capability of the prepared molecularly imprinted polymer, it was also applied for the pretreatment of baicalin in Scutellaria baicalensis Georgi. The result showed that most of the matrices were removed and baicalin was selectively enriched.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.