Git Product home page Git Product logo

gitevolve's Introduction

GitEvolve

The repository for code in GitEvolve: Predicting the Evolution of GitHub Repositories. If you find this repository useful in your research, please consider citing:

@misc{zhou2020gitevolve,
      title={GitEvolve: Predicting the Evolution of GitHub Repositories}, 
      author={Honglu Zhou and Hareesh Ravi and Carlos M. Muniz and Vahid Azizi and Linda Ness and Gerard de Melo and Mubbasir Kapadia},
      year={2020},
      eprint={2010.04366},
      archivePrefix={arXiv},
      primaryClass={cs.SI}
}

Installation

Run 'conda env create -f environment.yml' to create a conda environment that satisfies the package requirement. Find (or modify) the conda environment name in the first line of 'environment.yml'.

How to run

models

We provide the following model variants:

  • multitask_lstm_user_cluster (proposed model that outputs event type, time and user cluster of the next time step)
  • multitask_lstm_user_cluster_true_event_only
  • multitask_lstm_branch_et
  • multitask_lstm_branch_td
  • multitask_lstm_branch_uc
  • multitask_random_constraints
  • multitask_repeat_last_action
  • multitask_repeat_no_action
  • multitask_lstm (this model variant outputs only event type and time.)

Please use the main script of the model variant that you selected.

train

python main_multitask_lstm_user_cluster.py train --create_dataset=1  --exp_name=myexp

test (and evaluation)

python main_multitask_lstm_user_cluster.py test --create_dataset=1 --load_model_epoch=40  --exp_name=myexp --given_gt=0

or

python main_multitask_lstm_user_cluster.py test --create_dataset=1 --load_model_epoch=40  --exp_name=myexp --given_gt=1

evaluation (only)

python main_multitask_lstm_user_cluster.py eval --load_model_epoch=40  --exp_name=myexp --given_gt=0

Please check the create_config.py inside the folder of each model variant, to change the data paths, hyper-parameters, and other settings.

gitevolve's People

Contributors

hongluzhou avatar

Stargazers

Rosa Tiara Galuh avatar Nico Müller avatar

Watchers

 avatar

Forkers

gdemelo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.