Git Product home page Git Product logo

Comments (4)

AmenRa avatar AmenRa commented on May 29, 2024

Hi and thank you! :)

In Information Retrieval, relevance score judgments can be binary or graded.
To the best of my knowledge, graded relevance score judgments are usually expressed as integers.

Moreover, if I recall correctly, the choice of requiring integers was taken for similarity with trec_eval, the standard evaluation library in Information Retrieval.

Do you needranx to support floating point relevance score judgments?

Best,

Elias

from ranx.

maximedb avatar maximedb commented on May 29, 2024

Thank make sense! No no, it was just something I was wondering about :)

from ranx.

Perenz avatar Perenz commented on May 29, 2024

Following up on this, I'd now need ranx to support floating point relevance score judgments?
Is that supported right now? Or is there a turnaround you'd recommend to use floating relevance score?

Best,

Stefano

from ranx.

AmenRa avatar AmenRa commented on May 29, 2024

Hi Stefano,

I apologize if my question sounds stupid: are your relevance judgments truly continuous, or are they discrete but defined with floats?

In the latter case, you should always be able to convert them to integers by simply re-scaling them.

If that's not the case, you could, for example, round your floats at the 4th decimal position, multiply them by 10^4, and then cast them to integers.

If this still does not solve your problem, could you please provide more information about your use case so I can better help you find a solution?

I do not plan to change the implementation of Qrels at the moment.

Best,

Elias

from ranx.

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.