Problem when programming with python in EVIEWS 12
Posted: Wed Mar 23, 2022 8:47 am
Hi,
I am trying to run the following code in Python from EVIEWS 12
however, it sends me the following error
The same thing happens to me if I use Python 3.8 or 3.9.
Could you please help me identifying where the error is?
Thanks
Francisco
I am trying to run the following code in Python from EVIEWS 12
Code: Select all
xopen(p)
xon
import numpy as np
import pandas as pd
import itertools
from prophet import Prophet
xoff
xon
param_grid = {"changepoint_prior_scale": [0.001, 0.01, 0.1, 0.5], "seasonality_prior_scale": [0.01, 0.1, 1.0, 10.0]}
xoff
xon
all_params = [dict(zip(param_grid.keys(), v)) for v in itertools.product(*param_grid.values())]
xoff
The same thing happens to me if I use Python 3.8 or 3.9.
Could you please help me identifying where the error is?
Thanks
Francisco