Giter Site home page Giter Site logo

[baseline] naive bayes about gcm HOT 4 CLOSED

natalymr avatar natalymr commented on July 23, 2024
[baseline] naive bayes

from gcm.

Comments (4)

natalymr avatar natalymr commented on July 23, 2024

https://github.com/natalymr/gcm/blob/master/naive_bayes/naive_bayes.ipynb

all tokens without separators

train data test data classification acc bleu
intellij intellij 0.97 0.03794679
intellij aurora 0.91 0.01468671
aurora aurora 0.95 0.01288976
intellij + aurora aurora 0.95 0.01288976

only identifiers

train data test data classification acc bleu
intellij intellij 0.98 0.0381872
intellij aurora 0.94 0.0145752
aurora aurora 0.96 0.01311591
intellij + aurora aurora 0.96 0.01311591

from gcm.

natalymr avatar natalymr commented on July 23, 2024

Количество данных в каждом из датасетов:

  • intellij - все токены кроме сепараторов
    image
  • aurora - все токены кроме сепараторов ([, ], (, ), {, }, ;, ,,)
    image
  • intellij - только идентификаторы
    image
  • aurora - только идентификаторы
    image

from gcm.

stacymiller avatar stacymiller commented on July 23, 2024
  1. "smth was changed" does not seem to be the best comment w.r.t. BLEU score. Maybe we should leave the message empty or construct a phrase that would be similar (in terms of BLEU) to as many commits as possible. Same idea applies to other labels.
  2. Naive Bayes was supporsed to be a simple baseline, but setting min_df and max_df values to non-default values is still a good idea.
  3. What are bleu score values in brackets?

from gcm.

natalymr avatar natalymr commented on July 23, 2024
  1. да, поняла, переделаю
  2. я, если честно, не поняла, про какие именно значения идет речь
  3. если мы при подсчете bleu score-a учитываем только юниграммы

from gcm.

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.