You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am running into an indexing error while generating an HTML summary for a national model trained with a single knot and an holdout group given as a list of booleans of dimension (n_times,).
The error happens on that line of the source code:
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
According to the documentation the expected shape for holdout_id in the model specifications for a national level model is (n_times,). But the indexing in the source code is always 2 dimensional.
Could someone provide guidance on how to avoid this issue?
(I can provide traceback / more details about the code if necessary)
The text was updated successfully, but these errors were encountered:
Hi, I am running into an indexing error while generating an HTML summary for a national model trained with a single knot and an holdout group given as a list of booleans of dimension (n_times,).
The error happens on that line of the source code:
meridian/meridian/analysis/analyzer.py
Line 3764 in fa61ba6
When running:
mmm_summarizer.output_model_results_summary(f'meridian_output{model_suffix}.html', filepath, start_date, end_date)
And raises:
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
According to the documentation the expected shape for
holdout_id
in the model specifications for a national level model is (n_times,). But the indexing in the source code is always 2 dimensional.Could someone provide guidance on how to avoid this issue?
(I can provide traceback / more details about the code if necessary)
The text was updated successfully, but these errors were encountered: