Comments (6)
Hi,
Can you post your code please so that we can reproduce it?
from greykite.
Hi sayanpatra,
I believe this issue can be considered a duplicate of issue #43, which is still open. The basic question is: how can we control the amount of metrics being computed rather than forcibly suppress useful warnings which are there to show us what may be going wrong ?
- The two warnings about y_true (MAPE and medAPE are undefined) most probably refer to the train period, because that is where my response has some zero values (no zero values in the forecast period)
- The warning about y_pred, instead, can either refer to the train period or the forecast period ( because this particular model fits the intercept term, which also becomes the forecast)
I know that my response may contain zeros values, hence I would like to prevent the algorithm from calculating an undefined MAPE rather than letting it go ahead and throw a warning. Similarly, I am not interested in the correlation calculation, so I would like the algorithm to be spared that task and effort too.
from greykite.
When you pass cv_selection_metric
as None
in EvaluationMetricParam
, it computes a default set of metrics. I believe you will not get those error messages if you add the RMSE as the evaluation metric as follows:
from linkedin.greykite.common.evaluation import EvaluationMetricEnum
evaluation_metric = EvaluationMetricParam(
cv_selection_metric=EvaluationMetricEnum.RootMeanSquaredError.name
)
config = ForecastConfig(
metadata_param=metadata,
...,
evaluation_metric_param=evaluation_metric
)
from greykite.
I did as you said but I am still getting MAPE and MedAPE messages, whether I use the RMSE or the MAE metric (MAE metric in screenshot below)
:
from greykite.
I can not respond based on partial code. As I said before if you need help, post your full code.
from greykite.
I found out that these warnings come from the error metrics on the forecast results (and the backtest results if test_horizon > 0
):
result.forecast.train_evaluation
result.forecast.test_evaluation
result.backtest.train_evaluation
result.backtest.test_evaluation
from greykite.
Related Issues (20)
- GreyKite 0.3.0 Library Issue HOT 7
- Library import issues HOT 1
- ValueError: ``MULTISTAGE_EMPTY`` can not be used without overriding. HOT 2
- Request to release tag 0.5.1 HOT 4
- Unable to get greykite 0.5.0 HOT 4
- Unable to run codes.
- Regressors Already Forecastd, No Lag Needed. But, getting warning "RuntimeWarning: Input data has many null values. Missing 21.45% of one input." HOT 1
- Lower Python version requirement to allow 3.8.10 HOT 1
- `design_info` is needed to make predictions on new data HOT 4
- Dealing with lot of 0s (zeroes) in Greykite Multistage Forecasting HOT 1
- mutable default <class 'greykite.framework.templates.autogen.forecast_config.ModelComponentsParam'> for field SILVERKITE is not allowed: use default_factory HOT 1
- MLFLOW support for the SilverKite Algorithm HOT 1
- Greykite design question
- Version 0.5.0 - broken macOS support with M1 chip due to incorrect version of pmdarima dependency
- Question: How to use sample_weight in grid searching a model HOT 2
- TypeError in docs examples HOT 1
- Code not working After Update
- TypeError on forecaster.run_forecast_config (same as the others) HOT 2
- ChangePoint detection for not daily data
- Using conda for installation
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 greykite.