Giter Site home page Giter Site logo

Comments (1)

warenlg avatar warenlg commented on June 20, 2024

I achieved this task following these steps:

  1. collect repository_id, commit_hash, commit_author_name, commit_author_email using the gitbase and a python client on 22 open source stacks.
  2. Iterate through 2019-05-01 GHTorrent dump, and map every commit hash with the GHTorrent id of its author.
  3. For each org, create a CSV file with repository_id, author_email, author_name, author_id.
  4. For each org, create 10 different identity matching table in Parquet format running match-identities with the --cache option pointing to the previous CSV file on which we dropped the author_id column, with 10 different values for the MaxIdentities parameter: [1, 5, 10, 20, 30, 40, 50, 100, 200, 500].
  5. For each org, and each identity table generated (so 22x10), build 2 identity graph (1) from GHTorrent identity mapping (2) from our own identity matching.
  6. Compute precision and recall using the following definitions for false positive and false negative.
    • FP = set(pred_graph.edges) - set.intersection(set(pred_graph.edges), set(true_graph.edges))
    • FN = set(ght_graph.edges) - set.intersection(set(pred_graph.edges), set(ght_graph.edges))
  7. Plot the precision and recall curves depending on MaxIdentities for each org.
  8. Conclude that MaxIdentities=20 stands for a good trade-off.

idmatching_pr_curves

from identity-matching.

Related Issues (20)

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.