Skip to content

adiferd/PRioritizer-predictor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRioritizer predictor

Build Status

A predictor for important pull requests. Designed to be invoked by the analyzer.

The predictor uses historical data of a given repository to predict if a repository requires more attention than others. Machine learning is applied to perform the prediction. Random Forest is used as algorithm, which is implemented in R.

Please note that the predictor is specifically written for the GHTorrent project.

Prerequisites

Building

  1. Clone the project into ~/predictor
  2. Install dependencies and build the project with sbt compile
  3. Copy src/main/resources/settings.properties.dist to src/main/resources/settings.properties
  4. Configure the application by editing src/main/resources/settings.properties
  • e.g. model directory: ~/tmp/
  • e.g. Rscript location: /usr/bin/Rscript
  • e.g. script diretory: ~/predictor/R
  • Ingore the repository settings
  1. Package the project into a .jar file with sbt assembly

The predictor is now set up for use by the analyzer.

About

Prioritize your pull requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 67.5%
  • R 29.1%
  • Batchfile 1.8%
  • Shell 1.6%