项目作者: WeiFoo

项目描述 :
Revisiting Unsupervised Learning for Defect Prediction
高级语言: R
项目地址: git://github.com/WeiFoo/RevisitUnsupervised.git
创建时间: 2017-06-13T16:53:19Z
项目社区:https://github.com/WeiFoo/RevisitUnsupervised

开源协议:MIT License

下载


Introduction

This is the repo to reproduce the results in Fu et al.
``Revisit Unsupervised Effort-Aware Just-in-Time Defect prediction’’ . The package is modified basd on the code provoided by Yang et al.

`` Effort-aware just-in-time defect prediction: Simple unsupervised models could be better than supervised models.’’

Dependence

  • R Environment
  • RWeka, car, usdm, effsize, ScottKnott packages are required. Please run the following commands in R.
  1. install.packages("RWeka")
  2. install.packages("car")
  3. install.packages("usdm")
  4. install.packages("effsize")
  5. install.packages("ScottKnott")

Run

  1. source("exeMain.r")

Reference

  1. @inproceedings{fu2017unsupervised,
  2. author = {Fu, Wei and Menzies, Tim},
  3. title = {Revisiting Unsupervised Learning for Defect Prediction},
  4. booktitle = {Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering},
  5. series = {ESEC/FSE 2017},
  6. year = {2017},
  7. pages = {72--83},
  8. numpages = {12},
  9. publisher = {ACM}
  10. }

Folder Structure

  1. .
  2. ├── LICENSE
  3. ├── README.md
  4. └── jit
  5. ├── input ## input data
  6. ├── bugzilla.csv
  7. ├── columba.csv
  8. ├── jdt.csv
  9. ├── mozilla.csv
  10. ├── platform.csv
  11. └── postgres.csv
  12. ├── output ## reuslts are saved here accordingly
  13. ├── cross-project
  14. ├── cross-validation
  15. └── cross-validation-timewise
  16. └── script_r
  17. ├── ReportResults.r
  18. ├── core.r
  19. ├── evaluate.r
  20. ├── exeMain.r ## the start point of R code
  21. ├── learner.r ## learners are called here
  22. ├── packages
  23. ├── EMImputation1.0.1.zip
  24. ├── RBFNetwork1.0.8.zip
  25. ├── citationKNN1.0.1.zip
  26. ├── conjunctiveRule1.0.4.zip
  27. ├── gaussianProcesses1.0.1.zip
  28. ├── grading1.0.1.zip
  29. ├── gridSearch1.0.7.zip
  30. ├── gridSearch1.0.8.zip
  31. ├── gridSearch1.0.9.zip
  32. ├── isotonicRegression1.0.1.zip
  33. ├── kernelLogisticRegression1.0.0.zip
  34. ├── lazyBayesianRules1.0.1.zip
  35. ├── leastMedSquared1.0.1.zip
  36. ├── linearForwardSelection1.0.1.zip
  37. ├── multiBoostAB1.0.1.zip
  38. ├── paceRegression1.0.1.zip
  39. ├── partialLeastSquares1.0.4.zip
  40. ├── racedIncrementalLogitBoost1.0.1.zip
  41. ├── ridor1.0.1.zip
  42. ├── rotationForest1.0.2.zip
  43. ├── stackingC1.0.1.zip
  44. └── userClassifier1.0.3.zip
  45. ├── results
  46. └── utils.R