Comments (3)
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.
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.
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)
- revise_forecasts() method raises an attribute error. AttributeError: 'Series' object has no attribute 'yhat' HOT 9
- How to make forecasts strictly positive? HOT 6
- [BUG] Bug with prediction output since 0.5.4 HOT 1
- Still a bug in the current implementation of exogenous variables HOT 8
- [BUG] Probably a bug in how reconciliation works now HOT 2
- [BUG] Possible bug in how a summing matrix is created HOT 2
- [BUG] KeyError when using custom root name HOT 2
- [BUG] Error when forecasting with exogenous regressors for each of the nodes HOT 4
- [BUG] Error installing with pip install scikit-hts[all] HOT 1
- [BUG] Bug report ValueError: Shape of passed values is (249, 150), indices imply (249, 152)
- [BUG] Possible error in computation of WLSV???
- [BUG] After calling fbporphet model.fit(), no forecasts all null
- [DOCS] Documentation
- Pkl file not found error when running fbprophet HOT 1
- Error while fitting data
- [BUG] SarimaxModel fails with to fit with exogenous data
- [FEATURE] Feature request
- [BUG] Bug report - Predicted forecasts frequency not same as training data.
- Zero forecast for middle level time series using optimal reconciliation HOT 2
- [BUG] Iterable abstract class was removed from collections in Python 3.10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-hts.