-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Plot components of averaged df (and quants) if multiple IDs, but no df_name specified in plot_components() #888
Conversation
…ied in plot_components() *Use received_single_time_series and df_name as indicators *Adjust integration and uncertainy tests - no raise of Exception anymore *Changed former Errors to warnings in this special case * matplotlib and plotly
Codecov Report
@@ Coverage Diff @@
## main #888 +/- ##
==========================================
+ Coverage 89.19% 89.81% +0.61%
==========================================
Files 18 18
Lines 4450 4632 +182
==========================================
+ Hits 3969 4160 +191
+ Misses 481 472 -9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…ied in plot_components() *Use received_single_time_series and df_name as indicators *Adjust integration and uncertainy tests - no raise of Exception anymore *Changed former Errors to warnings in this special case * matplotlib and plotly
…ied in plot_components() *Use received_single_time_series and df_name as indicators *Adjust integration and uncertainy tests - no raise of Exception anymore *Changed former Errors to warnings in this special case * matplotlib and plotly
…ied in plot_components() *Use received_single_time_series and df_name as indicators *Adjust integration and uncertainy tests - no raise of Exception anymore *Changed former Errors to warnings in this special case * matplotlib and plotly
…specified *mean_std indicates whether multiple dfs have been passed, without specifying df_name *plot mean and std across all dfs *for plotly
…specified *mean_std indicates whether multiple dfs have been passed, without specifying df_name *plot mean and std across all dfs *for matplotlib
…specified *mean_std indicates whether multiple dfs have been passed, without specifying df_name *plot mean and std across all dfs *for matplotlib
…specified *mean_std indicates whether multiple dfs have been passed, without specifying df_name *plot mean and std across all dfs *for matplotlib
* only if global df, and df_name not specified * only for trend and seasonality * Plotly
* only if global df, and df_name not specified * only for trend and seasonality * Matplotlib
…be available for plot_parameters()
* df_name *global/local normalization *glocal/global model with multiple IDs
HI @judussoari ! Really nice work, this is super useful! Computation time. plotting parameters is talking long. But that is because of numpy on the .groupby().apply() If you change:
by:
it is much faster. |
@judussoari Can you resolve the merge conflicts? Thx |
# Conflicts: # neuralprophet/forecaster.py # neuralprophet/plot_forecast_plotly.py # neuralprophet/plot_model_parameters_matplotlib.py # neuralprophet/plot_model_parameters_plotly.py
@judussoari can you resolve the merge conflicts? Thanks. |
# Conflicts: # neuralprophet/forecaster.py # neuralprophet/plot_model_parameters_matplotlib.py # neuralprophet/plot_model_parameters_plotly.py # tests/test_integration.py # tests/test_plotting.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Model BenchmarkShow benchmark results
Model TrainingPeytonManningYosemiteTempsAirPassengers |
Closes #866
To Do:
Before: We raised an Exception whenever multiple time series were present in the input df and
plot_paramenters()
was called without specifying the time series to be plotted.Now: plots mean and quants of all time series when time series is not specified in
df_name
.Sceenshot 1: model parameters when
df_name
is specified.Sceenshot 2: model parameters when
df_name
is not specified.