GithubHelp home page GithubHelp logo

Bugfix pattern mining about hercules HOT 1 OPEN

src-d avatar src-d commented on September 26, 2024
Bugfix pattern mining

from hercules.

Comments (1)

EgorBu avatar EgorBu commented on September 26, 2024

Copy-paste of #188 (comment)

About classification - it's possible to collect some labels from PRs in huge repositories like

Pattern mining

I like an idea of pattern mining.
I would suggest making commit deduplication + community detection / (or clustering / topic modeling) instead of classification.
Why:

  • it's not clear how many classes we have (50+ labels in each repository that I mentioned above).
  • it could be quite a big variability even inside one class.
  • incredible number of commits

deduplication + community detection

The way how to do it the same as in apollo:

  • extract features: textual, structural, etc -> bag-of-something.
  • fuzzy deduplication + hyperopt (it may require manual labeling or automatic calculating similarity score and selecting threshold).
  • connected components + community detection.
  • descriptive statistics of each community / labeling.

So after it will be possible to query and receive communities and their descriptions / labels.

topic modeling

How to - standart topic modeling pipeline:

  • extract features: textual, structural, etc -> bag-of-something.
  • hierarchical or simple topic modeling using bigartm and vis

So after it will be possible to query and receive topics for commits.

One more point - that the first step (feature extraction) could be reused for several different approaches.

from hercules.

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.