Cross language clone detection using supervised learning
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
bin
samples
scripts
sql
suplearn_clone_detection
tests
.gitignore
.ipython-startup.ipy
.pylintrc
Pipfile
Pipfile.lock
README.md
config.yml.example
ipython_config.py
setup.py

README.md

suplearn-clone-detection

CircleCI

Setup

pip install -r requirements.txt
python setup.py develop

Configuration

See config.yml.example for a sample configuration file. The file should be copied as config.yml to be used automatically.

Usage

$ ./bin/suplearn-clone -h
usage: suplearn-clone [-h] [-q] [--debug]
                      {train,generate-data,evaluate,predict,show-results} ...

positional arguments:
  {train,generate-data,evaluate,predict,show-results}
    train               Train the model
    generate-data       Generate data for evaluating model
    evaluate            Evaluate the model
    predict             Predict files
    show-results        Show formatted results

optional arguments:
  -h, --help            show this help message and exit
  -q, --quiet           reduce output
  --debug               enables debug