from neuralprophet import NeuralProphet
m = NeuralProphet()
metrics = m.fit(df)
When I try to fit neuralprophet I get type error
This also happens in one of their tutorial nootebooks
Anyone knows how to fix it??
TypeError Traceback (most recent call last)
<ipython-input-8-80f152464e03> in <module>
8 ar_reg=0.1,
9 )
---> 10 metrics = m.fit(df)
6 frames
/usr/local/lib/python3.7/dist-packages/neuralprophet/df_utils.py in get_normalization_params(array, norm_type)
340 if norm_type == "soft":
341 lowest = np.min(non_nan_array)
--> 342 q95 = np.quantile(non_nan_array, 0.95, method="higher")
343 width = q95 - lowest
344 if math.isclose(width, 0):
<__array_function__ internals> in quantile(*args, **kwargs)
TypeError: _quantile_dispatcher() got an unexpected keyword argument 'method'