From c3c20f103702592da25312ab6ca525f7b9b6d781 Mon Sep 17 00:00:00 2001 From: SalkCoding Date: Wed, 18 Dec 2024 23:37:44 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=A0=88?= =?UTF-8?q?=EB=8C=80=EA=B2=BD=EB=A1=9C=20=EB=B3=B4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai/lottery_prediction.py | 2 +- ai/lottery_probability_predictor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/lottery_prediction.py b/ai/lottery_prediction.py index e68bcfc..968106f 100644 --- a/ai/lottery_prediction.py +++ b/ai/lottery_prediction.py @@ -93,7 +93,7 @@ def build_and_evaluate_model(df, target_col): return np.expm1(log_prediction[0]) # 메인 코드 -df = pd.read_csv('./oh-lottery_main.csv') +df = pd.read_csv('/app/ai/oh-lottery_main.csv') # 1등, 2등, 3등 예측 # features_1st = ['prev_1st_prize', 'rolling_3_prize_mean', 'rolling_5_prize_mean', diff --git a/ai/lottery_probability_predictor.py b/ai/lottery_probability_predictor.py index bab274b..cca6c50 100644 --- a/ai/lottery_probability_predictor.py +++ b/ai/lottery_probability_predictor.py @@ -181,7 +181,7 @@ def predict_next_numbers(self, recent_numbers, num_simulations=1000, top_k=5): def main(): # Load data - df = pd.read_csv('oh-lottery_main.csv') + df = pd.read_csv('/app/ai/oh-lottery_main.csv') winning_numbers = df[['Number 1', 'Number 2', 'Number 3', 'Number 4', 'Number 5', 'Number 6']].values