Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Training data selection for cross-project defec...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
PROMISE'13: The 9th International Conference on Predictive Models in Software Engineering
October 09, 2013
Research
160
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
210
Using code change types in an analogy-based classifier for short-term defect prediction
promise
0
120
The Impact of Parameter Tuning on Software Effort Estimation Using Learning Machines
promise
0
160
Incremental Development Productivity Decline
promise
1
160
An Algorithmic Approach to Missing Data Problem in Modeling Human Aspects in Software Development
promise
0
140
An Analysis of Multi-objective Evolutionary Algorithms for Training Ensemble Models Based on Different Performance Measures in Software Effort Estimation
promise
0
160
Beyond Data Mining; Towards “Idea Engineering”
promise
0
130
A Comparative Evaluation of Static Analysis Actionable Alert Identification Techniques
promise
0
170
Other Decks in Research
See All in Research
全国町字単位空き家率推定データver1.0データ仕様
microbaseinc
0
290
某助成金プロジェクト採択に向けて企業研究所のアウトリーチ専任者がやったこと
afroscript
0
200
山中市政の総括:相反する二つの顔
sishi
0
220
HAKARI-Bench - 実運用視点での情報検索モデル評価ベンチマーク
hotchpotch
1
810
【Zozo Research 技術共有会】三次元領域の現在と展望
mickey_0226
3
680
ros2-perf-multihost: 分散システムにおける客観的なアーキテクチャ評価フレームワーク
takasehideki
0
290
実例から見るLLMのマンガ理解:実務VQAタスクによる長期的文脈と視覚情報の定性評価
kzmssk
0
190
SLAMはどこまで解決されたのか?
tomonom
0
1.5k
Sleuthcon Keynote - How Cybercriminals (ab)use AI
fr0gger
0
390
論文紹介:Doc-to-LoRA: Learning to Instantly Internalize Contexts
yukako_nakano
0
200
Cross-Media Human-Information Interaction
signer
PRO
0
280
Hitting the buffers
beale
0
280
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Visualization
eitanlees
153
17k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Raft: Consensus for Rubyists
vanstee
142
7.8k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
30 Presentation Tips
portentint
PRO
1
430
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
The Language of Interfaces
destraynor
162
27k
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