Coder Social home page Coder Social logo

Comments (3)

vtoliveira avatar vtoliveira commented on June 13, 2024 1

Forget about it, sklearn already implements in this way, you choose if you want multioutput or not, I will try to follow their guidelines and practice so we have a robust metric. I will start with rmsse, the one used in M5 current competition.

from scikit-hts.

vtoliveira avatar vtoliveira commented on June 13, 2024

I will try to work on that, and give feedback as I advance. So for custom metrics you are also thinking
in adding a hts.metrics interface as well? Because I am aware that sklearn does not implement a lot of them, just basic ones.

So in my mind would be something like:

from hts.metrics import root_mean_squared_scaled_error

Also, we have this Hyndman's paper that discuss all metrics dealing with time series and the ones for intermittent data as well. (For what I have seen, almost all Hierarchical data follows some kind of intermittend demand)

from scikit-hts.

vtoliveira avatar vtoliveira commented on June 13, 2024

Another question that I was thinking of, considering the case implemented above, the metric should automatically calculated rmse for each node or should we leave it to the user?

Because we have two different cases:

  • First, user passing metric as string / callable, in base.py each series is calculated at time.
  • Second, user get model.predict and compare with a test dataset. And we would have here for each y_true, y_pred shape -> (n_samples, n_nodes)

from scikit-hts.

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.