Marco Canaparo
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Marco Canaparo has a total of 64 co-authors. Here are the top co-authors by number of shared publications:
- Elisabetta Ronchieri
Istituto Nazionale di Fisica Nucleare CNAF
21 shared publications D. Salomoni
INFN CNAF, Viale Berti Pichat 6/2, 40126 Bologna, Italy
2 shared publications- Davide Salomoni
INFN CNAF, Bologna, Italy
2 shared publications - Maria Grazia Pia
INFN Sezione di Genova, Via Dodecaneso 33, 16146 Genova, Italy
2 shared publications - Tullio Basaglia
CERN, Ch1211 Geneve 23, Switzerland
2 shared publications A. Cavalli
INFN-CNAF V.le Berti Pichat 6/2 40127 Bologna, Italy
1 shared publication
Latest Publications
- 23 October 2025
- Published by Springer Nature
- p. 159-165
Transformer-Based Models to Assist Covid-19 Literature Screening
- 23 October 2025
- Published by Springer Nature
- p. 159-165
Transformer-Based Models to Assist Covid-19 Literature Screening
- Open Access
- 11 April 2023
- Published by Elsevier in Healthcare Analytics
- Vol. 3, 100172
A natural language processing approach for analyzing COVID-19 vaccination response in multi-language and geo-localized tweets
- 11 April 2023
- Published by Elsevier in Healthcare Analytics
- Vol. 3, 100172
Open AccessA natural language processing approach for analyzing COVID-19 vaccination response in multi-language and geo-localized tweets
- Open Access
- 24 October 2022
- Published by MDPI AG in Applied Sciences
- Vol. 12 (21) , 10773
Natural Language Processing Application on Commit Messages: A Case Study on HEP Software
Version Control and Source Code Management Systems, such as GitHub, contain a large amount of unstructured historical information of software projects. Recent studies have introduced Natural Language Processing (NLP) to help software engineers retrieve information from a very large collection of unstructured data. In this study, we have extended our previous study by increasing our datasets and machine learning and clustering techniques. We have followed a complex methodology made up of various steps. Starting from the raw commit messages we have employed NLP techniques to build a structured database. We have extracted their main features and used them as input of different clustering algorithms. Once each entry was labelled, we applied supervised machine learning techniques to build a prediction and classification model. We have developed a machine learning-based model to automatically classify commit messages of a software project. Our model exploits a ground-truth dataset that includes commit messages obtained from various GitHub projects belonging to the High Energy Physics context. The contribution of this paper is two-fold: it proposes a ground-truth database and it provides a machine learning prediction model that automatically identifies the more change-prone areas of code. Our model has obtained a very high average accuracy (0.9590), precision (0.9448), recall (0.9382), and F1-score (0.9360).
- 24 October 2022
- Published by MDPI AG in Applied Sciences
- Vol. 12 (21) , 10773
Open AccessNatural Language Processing Application on Commit Messages: A Case Study on HEP Software
Version Control and Source Code Management Systems, such as GitHub, contain a large amount of unstructured historical information of software projects. Recent studies have introduced Natural Language Processing (NLP) to help software engineers retrieve information from a very large collection of unstructured data. In this study, we have extended our previous study by increasing our datasets and machine learning and clustering techniques. We have followed a complex methodology made up of various steps. Starting from the raw commit messages we have employed NLP techniques to build a structured database. We have extracted their main features and used them as input of different clustering algorithms. Once each entry was labelled, we applied supervised machine learning techniques to build a prediction and classification model. We have developed a machine learning-based model to automatically classify commit messages of a software project. Our model exploits a ground-truth dataset that includes commit messages obtained from various GitHub projects belonging to the High Energy Physics context. The contribution of this paper is two-fold: it proposes a ground-truth database and it provides a machine learning prediction model that automatically identifies the more change-prone areas of code. Our model has obtained a very high average accuracy (0.9590), precision (0.9448), recall (0.9382), and F1-score (0.9360).
- Open Access
- 20 September 2022
- Published by MDPI AG in Preprints.org
Natural Language Processing Application on Commit Messages: A Case Study on HEP Software
Version Control and Source Code Management Systems, such as GitHub, contain large amount ofunstructured historical information of software projects. Recent studies have introduced Natural Language Processing (NLP) to help software engineers retrieve information from very large collection of unstructured data. In this study, we have extended our previous study by increasing our datasets and ML and clustering techniques. Method: We have followed a complex methodology made up of various steps. Starting from the raw commit messages we have employed NLP techniques to build a structured database. We have extracted their main features and used as input of different clustering algorithms. Once labelled each entry, we have applied supervised machine learning techniques to build a prediction and classification model. Results: We have developed a machine learning-based model to automatically classify commit messages of a software project. Our model exploits a ground-truth dataset which includes commit messages obtained from various GitHub projects belonging to the HEP context. Conclusions: The contribution of this paper is two-fold: it proposes a ground-truth database; it provides a machine learning prediction model. They automatically identify the more change-proneness areas of code. Our model has obtained a very high average precision, recall and F1-score.
- 20 September 2022
- Published by MDPI AG in Preprints.org
Open AccessNatural Language Processing Application on Commit Messages: A Case Study on HEP Software
Version Control and Source Code Management Systems, such as GitHub, contain large amount ofunstructured historical information of software projects. Recent studies have introduced Natural Language Processing (NLP) to help software engineers retrieve information from very large collection of unstructured data. In this study, we have extended our previous study by increasing our datasets and ML and clustering techniques. Method: We have followed a complex methodology made up of various steps. Starting from the raw commit messages we have employed NLP techniques to build a structured database. We have extracted their main features and used as input of different clustering algorithms. Once labelled each entry, we have applied supervised machine learning techniques to build a prediction and classification model. Results: We have developed a machine learning-based model to automatically classify commit messages of a software project. Our model exploits a ground-truth dataset which includes commit messages obtained from various GitHub projects belonging to the HEP context. Conclusions: The contribution of this paper is two-fold: it proposes a ground-truth database; it provides a machine learning prediction model. They automatically identify the more change-proneness areas of code. Our model has obtained a very high average precision, recall and F1-score.
- Open Access
- 22 October 2021
- Published by Sissa Medialab Srl
- Vol. 378, 025
Using Natural Language Processing to Extract Information from Unstructured code-change version control data: lessons learned
Context: Natural Language Processing (NLP) is a branch of artificial intelligence that extracts information from language. In the field of software engineering, NLP has been employed to extract key information from free-form text, to generate models from the analysis of text or to categorize code changes according to their commit messages. In literature, most of the approaches NLP-based focused on the impact of code changes on program execution or software architecture. Objective: In this study, we have applied NLP to code-change data to identify patterns of software code modifications and used Machine Learning techniques to build a model that determines how software has evolved over time and identifies area of code that presents problems. Method: Considering that software projects use version control systems, such as github, to manage their code, we have collected software information by using git commands. These data contain different unstructured information about the various files in a project. Each modification entry includes a message that explains the reasons for the change. According to the content of the message, it is possible to identify key terms that can be used during the classification of the entries. Results: In this study, we have considered the change history of software available on github to the High Energy Physics community. With the use of NLP techniques we have cleaned the messages and extracted some key terms to categorize both software problems and some other changes performed by developers, like the addition of a third party dependency or a script that starts a given service. We have built a code change dictionary combining the terms already in existing literature with the ones gathered directly from the software and its github repository. Finally, we have applied some Machine Learning (ML) techniques to determine any connection between code changes and software problems: we have removed redundant entries to avoid any bias in the outcomes of the ML techniques. Conclusion: We show in detail our approach adopted to construct historical code change datasets of categorized commit messages by following a multi-label classification methodology. Our model performance seems promising in terms of accuracy, precision, recall and F1-score.
- 22 October 2021
- Published by Sissa Medialab Srl
- Vol. 378, 025
Open AccessUsing Natural Language Processing to Extract Information from Unstructured code-change version control data: lessons learned
Context: Natural Language Processing (NLP) is a branch of artificial intelligence that extracts information from language. In the field of software engineering, NLP has been employed to extract key information from free-form text, to generate models from the analysis of text or to categorize code changes according to their commit messages. In literature, most of the approaches NLP-based focused on the impact of code changes on program execution or software architecture. Objective: In this study, we have applied NLP to code-change data to identify patterns of software code modifications and used Machine Learning techniques to build a model that determines how software has evolved over time and identifies area of code that presents problems. Method: Considering that software projects use version control systems, such as github, to manage their code, we have collected software information by using git commands. These data contain different unstructured information about the various files in a project. Each modification entry includes a message that explains the reasons for the change. According to the content of the message, it is possible to identify key terms that can be used during the classification of the entries. Results: In this study, we have considered the change history of software available on github to the High Energy Physics community. With the use of NLP techniques we have cleaned the messages and extracted some key terms to categorize both software problems and some other changes performed by developers, like the addition of a third party dependency or a script that starts a given service. We have built a code change dictionary combining the terms already in existing literature with the ones gathered directly from the software and its github repository. Finally, we have applied some Machine Learning (ML) techniques to determine any connection between code changes and software problems: we have removed redundant entries to avoid any bias in the outcomes of the ML techniques. Conclusion: We show in detail our approach adopted to construct historical code change datasets of categorized commit messages by following a multi-label classification methodology. Our model performance seems promising in terms of accuracy, precision, recall and F1-score.
- Open Access
- 16 November 2020
- Published by EDP Sciences in EPJ Web of Conferences
- Vol. 245, 05041
Lessons Learned from the Assessment of Software Defect Prediction on WLCG Software: A Study with Unlabelled Datasets and Machine Learning Techniques
Software defect prediction is an activity that aims at narrowing down the most likely defect-prone software modules and helping developers and testers to prioritize inspection and testing. This activity can be addressed by using Machine Learning techniques applied to software metrics datasets that are usually unlabelled, i.e. they lack modules classification in terms of defectiveness. To overcome this limitation, in addition to the usual data pre-processing operations to manage mission values and/or to remove inconsistencies, researches have to adopt an approach to label their unlabelled software datasets. The extraction of defectiveness data to label all the instances of the datasets is an extremely time and effort consuming operation. In literature, many studies have introduced approaches to build a defect prediction models on unlabelled datasets.In this paper, we describe the analysis of new unlabelled datasets from WLCG software, coming from HEP-related experiments and middleware, by using Machine Learning techniques. We have experimented new approaches to label the various modules due to the heterogeneity of software metrics distribution. We discuss a number of lessons learned from conducting these activities, what has worked, what has not and how our research can be improved.
- 16 November 2020
- Published by EDP Sciences in EPJ Web of Conferences
- Vol. 245, 05041
Open AccessLessons Learned from the Assessment of Software Defect Prediction on WLCG Software: A Study with Unlabelled Datasets and Machine Learning Techniques
Software defect prediction is an activity that aims at narrowing down the most likely defect-prone software modules and helping developers and testers to prioritize inspection and testing. This activity can be addressed by using Machine Learning techniques applied to software metrics datasets that are usually unlabelled, i.e. they lack modules classification in terms of defectiveness. To overcome this limitation, in addition to the usual data pre-processing operations to manage mission values and/or to remove inconsistencies, researches have to adopt an approach to label their unlabelled software datasets. The extraction of defectiveness data to label all the instances of the datasets is an extremely time and effort consuming operation. In literature, many studies have introduced approaches to build a defect prediction models on unlabelled datasets.In this paper, we describe the analysis of new unlabelled datasets from WLCG software, coming from HEP-related experiments and middleware, by using Machine Learning techniques. We have experimented new approaches to label the various modules due to the heterogeneity of software metrics distribution. We discuss a number of lessons learned from conducting these activities, what has worked, what has not and how our research can be improved.
- 2 October 2020
- Published by Springer Nature
- Vol. 12250, 333-353
Software Defect Prediction on Unlabelled Datasets: A Comparative Study
Background: Defect prediction on unlabelled datasets is a challenging and widespread problem in software engineering. Machine learning is of great value in this context because it provides techniques - called unsupervised - that are applicable to unlabelled datasets. Objective: This study aims at comparing various approaches employed over the years on unlabelled datasets to predict the defective modules, i.e. the ones which need more attention in the testing phase. Our comparison is based on the measurement of performance metrics and on the real defective information derived from software archives. Our work leverages a new dataset that has been obtained by extracting and preprocessing its metrics from a C++ software. Method: Our empirical study has taken advantage of CLAMI with its improvement CLAMI+ that we have applied on high energy physics software datasets. Furthermore, we have used clustering techniques such as the K-means algorithm to find potentially critical modules. Results: Our experimental analysis have been carried out on 1 open source project with 34 software releases. We have applied 17 ML techniques to the labelled datasets obtained by following the CLAMI and CLAMI+ approaches. The two approaches have been evaluated by using different performance metrics, our results show that CLAMI+ performs better than CLAMI. The predictive average accuracy metric is around 95% for 4 ML techniques (4 out of 17) that show a Kappa statistic greater than 0.80. We applied K-means on the same dataset and obtained 2 clusters labelled according to the output of CLAMI and CLAMI+. Conclusion: Based on the results of the different statistical tests, we conclude that no significant performance differences have been found in the selected classification techniques.
- 2 October 2020
- Published by Springer Nature
- Vol. 12250, 333-353
Software Defect Prediction on Unlabelled Datasets: A Comparative Study
Background: Defect prediction on unlabelled datasets is a challenging and widespread problem in software engineering. Machine learning is of great value in this context because it provides techniques - called unsupervised - that are applicable to unlabelled datasets. Objective: This study aims at comparing various approaches employed over the years on unlabelled datasets to predict the defective modules, i.e. the ones which need more attention in the testing phase. Our comparison is based on the measurement of performance metrics and on the real defective information derived from software archives. Our work leverages a new dataset that has been obtained by extracting and preprocessing its metrics from a C++ software. Method: Our empirical study has taken advantage of CLAMI with its improvement CLAMI+ that we have applied on high energy physics software datasets. Furthermore, we have used clustering techniques such as the K-means algorithm to find potentially critical modules. Results: Our experimental analysis have been carried out on 1 open source project with 34 software releases. We have applied 17 ML techniques to the labelled datasets obtained by following the CLAMI and CLAMI+ approaches. The two approaches have been evaluated by using different performance metrics, our results show that CLAMI+ performs better than CLAMI. The predictive average accuracy metric is around 95% for 4 ML techniques (4 out of 17) that show a Kappa statistic greater than 0.80. We applied K-means on the same dataset and obtained 2 clusters labelled according to the output of CLAMI and CLAMI+. Conclusion: Based on the results of the different statistical tests, we conclude that no significant performance differences have been found in the selected classification techniques.
- Open Access
- 21 November 2019
- Published by Sissa Medialab Srl
- Vol. 351, 018
Machine Learning Techniques for Software Analysis of Unlabelled Program Modules
Machine Learning (ML) has proven to be of great value in a variety of Software Engineering (SE) tasks to conduct, e.g., software defect prediction and estimation and test code generation. To accomplish these tasks, software datasets (i.e. collections of the various modules, such as files and classes, with features, such as software metrics and defective data) have to be gathered and properly preprocessed before the application of ML techniques. In SE practice, software datasets may lack some features' classification data, e.g. defective data are not included being difficult to collect in new projects or in projects with partial historical data. These datasets are called unlabelled datasets and are the vast majority of software datasets. The extraction of the complete set of features (defectiveness included) and the classification of the various instances imply effort and time. In literature, there exist various approaches to build a prediction model on unlabelled datasets that entail a high number of time-consuming permutations. Cloud computing infrastructure, GPU-equipped resources and adequate ML framework can give the chance to overcome this problem. In this study, we are going to present the usefulness of the Clustering, LAbeling, Metric selection, Instance selection approach in high energy physics by applying them to a Geant4 software unlabelled dataset as a case study; by implementing models in different available frameworks, such as TensorFlow and Keras; and by running them in Java, Python and R. We intend to reduce the distance between theory and practice by providing strengths and limitations of the considered frameworks to enable users to assess suitability for their requirements.
- 21 November 2019
- Published by Sissa Medialab Srl
- Vol. 351, 018
Open AccessMachine Learning Techniques for Software Analysis of Unlabelled Program Modules
Machine Learning (ML) has proven to be of great value in a variety of Software Engineering (SE) tasks to conduct, e.g., software defect prediction and estimation and test code generation. To accomplish these tasks, software datasets (i.e. collections of the various modules, such as files and classes, with features, such as software metrics and defective data) have to be gathered and properly preprocessed before the application of ML techniques. In SE practice, software datasets may lack some features' classification data, e.g. defective data are not included being difficult to collect in new projects or in projects with partial historical data. These datasets are called unlabelled datasets and are the vast majority of software datasets. The extraction of the complete set of features (defectiveness included) and the classification of the various instances imply effort and time. In literature, there exist various approaches to build a prediction model on unlabelled datasets that entail a high number of time-consuming permutations. Cloud computing infrastructure, GPU-equipped resources and adequate ML framework can give the chance to overcome this problem. In this study, we are going to present the usefulness of the Clustering, LAbeling, Metric selection, Instance selection approach in high energy physics by applying them to a Geant4 software unlabelled dataset as a case study; by implementing models in different available frameworks, such as TensorFlow and Keras; and by running them in Java, Python and R. We intend to reduce the distance between theory and practice by providing strengths and limitations of the considered frameworks to enable users to assess suitability for their requirements.
- 1 October 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-2
Sentiment Analysis for Software Code Assessment
This research explores the power of sentiment analysis, carried out through machine learning classifiers, for assessing the quality of code of existing machine learning code repositories. The paper provides sentiment attributes, extracted from git commit messages, referenced to the most popular open source frameworks, such as scikit-learn, TensorFlow and Theano. The purpose of this study is twofold. It proves that machine learning classifiers can be used in assessing the quality of software code. It also draws readers’ attention to the fact that the same principle can be used for the evaluation of algorithms available in the field of machine learning and artificial intelligence.
- 1 October 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-2
Sentiment Analysis for Software Code Assessment
This research explores the power of sentiment analysis, carried out through machine learning classifiers, for assessing the quality of code of existing machine learning code repositories. The paper provides sentiment attributes, extracted from git commit messages, referenced to the most popular open source frameworks, such as scikit-learn, TensorFlow and Theano. The purpose of this study is twofold. It proves that machine learning classifiers can be used in assessing the quality of software code. It also draws readers’ attention to the fact that the same principle can be used for the evaluation of algorithms available in the field of machine learning and artificial intelligence.
- 1 October 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-2
Software Defect Prediction on Unlabelled Dataset with Machine Learning Techniques
In this work, we are going to explore how to conduct defect software prediction on unlabelled datasets by exploiting unsupervised machine learning techniques. In previous literature, various approaches have been proposed over time with the aim of labelling an unlabelled dataset (i.e. classifying dataset instances/modules in terms of their defectiveness), they can usually rely on other software datasets, software experts or metrics’ thresholds. In this study, we intend to show the results obtained by exploiting CLAMI and CLAMI+, two approaches that overcome the various limitation of the previous ones adopted by researches, since they are independent on metrics’ threshold, do not need experts software knowledge and can be easily automated.Our prediction model takes as input a set of unlabelled datasets and machine learning techniques. Its output is composed of the values of several performance indicators on training datasets and predictions on test datasets. The latter can be employed to deduce information on the status of software code and, consequently, concentrate the software developers’ effort only where necessary.
- 1 October 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-2
Software Defect Prediction on Unlabelled Dataset with Machine Learning Techniques
In this work, we are going to explore how to conduct defect software prediction on unlabelled datasets by exploiting unsupervised machine learning techniques. In previous literature, various approaches have been proposed over time with the aim of labelling an unlabelled dataset (i.e. classifying dataset instances/modules in terms of their defectiveness), they can usually rely on other software datasets, software experts or metrics’ thresholds. In this study, we intend to show the results obtained by exploiting CLAMI and CLAMI+, two approaches that overcome the various limitation of the previous ones adopted by researches, since they are independent on metrics’ threshold, do not need experts software knowledge and can be easily automated.Our prediction model takes as input a set of unlabelled datasets and machine learning techniques. Its output is composed of the values of several performance indicators on training datasets and predictions on test datasets. The latter can be employed to deduce information on the status of software code and, consequently, concentrate the software developers’ effort only where necessary.