Git Product home page Git Product logo

Comments (1)

a3616001 avatar a3616001 commented on May 30, 2024

Hi! n_gold and e2e_ngold can be different. e2e_ngold is the number of all gold relations; while n_gold is the number of gold relations that are considered as a candidate by the relation model.
Note that some gold relations won't be considered as a candidate, because the entity model may not extract all entities.

Here is an example.
In one sample, there are two gold relational triples (e1, r1, e2), (e2, r2, e3). Here, e2e_ngold=2. If the entity model only correctly extracts entities e1 and e2, we will have n_gold=1.

F1 is computed using e2e_ngold; task_F1 is computed using n_gold and it is the F1 score if we evaluate the relation classification task individually.

from pure.

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.