/PRioritizer-predictor

Prioritize your pull requests

Primary LanguageScalaMIT LicenseMIT

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.