From 590197ffb025b42b4f3f91fa3ea0a677ae389e53 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Wed, 9 Oct 2024 21:26:28 +0200 Subject: [PATCH] bugfixing prophet with latest numpy version --- app/ml_models/prophet_model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ml_models/prophet_model.py b/app/ml_models/prophet_model.py index 3a385ba..d423f34 100755 --- a/app/ml_models/prophet_model.py +++ b/app/ml_models/prophet_model.py @@ -1,8 +1,9 @@ import pandas as pd +import numpy as np +np.float_ = np.float64 from prophet import Prophet from datetime import datetime import yfinance as yf -import numpy as np import asyncio from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score #import matplotlib.pyplot as plt