GithubHelp home page GithubHelp logo

Data set failing using OR-Tools about draft HOT 2 CLOSED

vidalt avatar vidalt commented on July 19, 2024
Data set failing using OR-Tools

from draft.

Comments (2)

ferryjul avatar ferryjul commented on July 19, 2024 1

Thank you for your feedback @torressa ! I've been able to reproduce this error. It was due to an edge case where all training data belongs to the same class - and the resulting trees have a single leaf node (and no internal node). I fixed that in our code, the error should no longer appear! (however, note that in such a case the forest brings no valuable information for reconstruction)

Regarding the fact that we include the model-building time in the returned solve_duration_time, it is due to the fact that we aim at measuring the runtime of our entire method - and not the performances of the solvers themselves. Indeed, model creation would be way faster using the C++ APIs rather than the Python ones!
We could have done it the other way to actually quantify the solver's ability to solve the problem, and may modify that later.
In our experiments, we assign limited run-times using the timeout parameter, which applies to the solvers' runtimes only as we cannot bound the models' creation time (and so the comparisons presented in the Appendices of our paper only compare the solvers' runtimes once the model is built).

I'm closing this issue now as the problem is fixed, but don't hesitate to reach out for any additional comment/feedback!

from draft.

torressa avatar torressa commented on July 19, 2024 1

Cool! Thanks for the clarification!
Very cool piece of work BTW!

from draft.

Related Issues (1)

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.