Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Training data selection for cross-project defec...
Search
PROMISE'13: The 9th International Conference on Predictive Models in Software Engineering
October 09, 2013
Research
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Training data selection for cross-project defect prediction
by Steffen Herbold
PROMISE'13: The 9th International Conference on Predictive Models in Software Engineering
October 09, 2013
More Decks by PROMISE'13: The 9th International Conference on Predictive Models in Software Engineering
See All by PROMISE'13: The 9th International Conference on Predictive Models in Software Engineering
Are Comprehensive Quality Models Necessary for Evaluating Software Quality?
promise
0
150
Using Evidential Reasoning to Make Qualified Predictions of Software Quality
promise
0
200
Using code change types in an analogy-based classifier for short-term defect prediction
promise
0
110
The Impact of Parameter Tuning on Software Effort Estimation Using Learning Machines
promise
0
150
Incremental Development Productivity Decline
promise
1
160
An Algorithmic Approach to Missing Data Problem in Modeling Human Aspects in Software Development
promise
0
130
An Analysis of Multi-objective Evolutionary Algorithms for Training Ensemble Models Based on Different Performance Measures in Software Effort Estimation
promise
0
150
Beyond Data Mining; Towards “Idea Engineering”
promise
0
120
A Comparative Evaluation of Static Analysis Actionable Alert Identification Techniques
promise
0
150
Other Decks in Research
See All in Research
長時間動画QAにおけるマルチエージェント推論 ・SVAgent: Storyline-Guided Long Video Understanding via Cross-Modal Multi-Agent Collaboration
murakawatakuya
1
160
Anthropic が提案する LLM の内部状態を自然言語で説明可能にした Natural Language Autoencoders / Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations
shunk031
0
140
「車1割削減、渋滞半減、公共交通2倍」を 熊本から岡山へ@RACDA設立30周年記念都市交通フォーラム2026
trafficbrain
1
1.3k
適応的スパムフィルタのための軽量な類似メッセージカウンタ / jsai2026-adaptive-spam-filter
monochromegane
0
4.2k
業界横断 副業コンプライアンス調査 三者(副業者・本業先・発注者)におけるトラブル認知ギャップの構造分析
fkske
0
1.3k
Scalable dynamic origin-destination demand estimation enhanced by high-resolution satellite imagery data
satai
3
330
AIエージェント時代のLLM-jpモデルのあるべき姿
k141303
0
500
National high-resolution cropland classification of Japan with agricultural census information and multi-temporal multi-modality datasets
satai
3
350
Ankylosing Spondylitis
ankh2054
0
180
オーストリア流 都市の公共交通サービス水準評価@公共交通オープンデータ最前線2026
trafficbrain
0
200
非試合日の野球場を楽しむためのARホームランボールキャッチ体験システムの開発 / EC79-miyazaki
yumulab
0
280
Cross-Media Information Spaces and Architectures
signer
PRO
0
310
Featured
See All Featured
Scaling GitHub
holman
464
140k
4 Signs Your Business is Dying
shpigford
187
22k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
For a Future-Friendly Web
brad_frost
183
10k
The SEO identity crisis: Don't let AI make you average
varn
0
510
How to build a perfect <img>
jonoalderson
1
5.8k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
760
Optimising Largest Contentful Paint
csswizardry
37
3.8k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
Building an army of robots
kneath
306
46k
Transcript
Training data selection for cross- project defect prediction Steffen Herbold
1
Outline • Motivation • Training data selection • Case study
• Conclusion 2
3 Every so)ware has failures!
But where? 4
Defect prediction! 5
Software metrics as foundation public class GUIElementFactory implements IGUIElementFactory {
private static GUIElementFactory instance = new GUIElementFactory(); private GUIElementFactory() {} public static synchronized GUIElementFactory getInstance() { return instance; } private Properties mappingsFromConfiguration; @Override public IGUIElement instantiateGUIElement( IGUIElementSpec specification, IGUIElement parent) throws GUIModelConfigurationException { Properties mappings = getMappingsFromConfiguration(); IGUIElement guiElement = null; String[] typeHierarchy = specification.getTypeHierarchy(); int i = 0; String className = null; while ((className == null) && (i < typeHierarchy.length)) { className = mappings.getProperty(typeHierarchy[i]); i++; } if (className != null) { try { GUIElementFactory Lines of Code (LOC) 193 Weighted Methods per Class (WMC) 34 Number of Methods (NOM) 3 … 6 …
Defect prediction 7 Predictor Training Defect Prediction Target Project
Ant 1.3
Cross-project defect prediction 8 Predictor Training Defect Prediction Target
Project Ant 1.3 Available Data arc Xerces 1.4 ...
Training data as subset of available data 9 Training Data
Selection Predictor Training Defect Prediction Target Project Ant 1.3 Training Data Available Data arc Xerces 1.4 ... Based on
Set-wise selection 10 Training Data Selection Predictor Training Defect
Prediction Target Project Ant 1.3 Training Data Version 1 Version k ... Available Data arc Xerces 1.4 ... Based on
Relationship between distributional characteristics and success 11
Distributional characteristics of a project Project Characteris7cs mean(LOC)
110 stddev(LOC) 30 … mean(WMC) 15 stddev(WMC) 5 … 12 … GUIElementFactory Lines of Code (LOC) 193 Weighted Methods per Class (WMC) 34 … GUIElement Lines of Code (LOC) 75 Weighted Methods per Class (WMC) 10 … Project Data
k-Nearest Neighbor Selection 13
k-Nearest Neighbor Selection 14
EM clustering selection 15
EM clustering selection 16
Case study data 17 • 14 Java projects • 44
releases • 20 software metrics • 34% percent defect prone in total
Defect proneness density 18
Weighting to counter bias 19 ∑↑▒↓ =∑↑▒ ↓ ↓ =0.5∙#/# ↓ =0.5∙#/#
Predictor models • Logistic Regression • Naïve Bayes • Bayesian
Networks • SVM with RBF kernel • C4.5 Decision Trees • Random Forest • Multilayer Perceptron 20
Case study workflow 21 Training Data Selection Predictor Training
Defect Prediction Target Project Ant 1.3 Training Data Version 1 Version k ... Candidate Training Data arc Xerces 1.4 ... Available Projects Ant 1.3 Ant 1.7 ... arc Xerces 1.4 ... Based on For each predictor model For each available project
Evaluation criteria 22 =/+ =/+ =(>0.7) ∧(>0.5)
Results success 23
recall and precision 24
Key findings • Set-wise selection improves results • Equal weighting
improves results • Within-project performance still out of reach • SVM performs best 25
Open Issues 26
Advertisement • http://autoquest.informatik.uni-goettingen.de 27