Code Monkey home page Code Monkey logo

Comments (5)

strani avatar strani commented on May 30, 2024

I'm playing right now with tf-ranking in order to compare its performance with that of state-of-the-art ensemble-based models.

That said, how do you think RankEval can support a neural network model given it is based on ensemble of regression trees? The simplest way to "integrate" it would be to extend the tf model with a score method with the same signature of the score method in the RTEnsemble class in such a way the analysis methods can be used without incurring in errors. Obviously, it means we will have a dependency with tf and tf-ranking for such models.

If you have any other suggestion, please let me know.

from rankeval.

strani avatar strani commented on May 30, 2024

Another option could be to fork the RTEnsemble class, creating a NNModel, with a common Model base class. All the utility methods (the one of course for which it makes sense to accept different models, e.g., not the topological analysis) will accept a base Model instance, and the signatures of the methods belonging to the two classes should be identical. This way everything will be transparent to the user, but still we need the dependency with tf and tf-ranking.

This is probably a cleaner solution, but with more code to change.

from rankeval.

zenogantner avatar zenogantner commented on May 30, 2024

I like the common base class approach.
The dependency does not have to be a hard one, the import could happen on demand.

from rankeval.

strani avatar strani commented on May 30, 2024

Let's start thus implementing this solution. I'm not sure about the timing of the implementation, I'm busy till next week then could start working on it.

from rankeval.

strani avatar strani commented on May 30, 2024

Update: I'm quite overwhelmed by the work this week and the next one. The implementation will not start before the middle of February...

from rankeval.

Related Issues (19)

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.