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