Skip to content

Commit

Permalink
데이터 절대경로 보정
Browse files Browse the repository at this point in the history
  • Loading branch information
SalkCoding committed Dec 18, 2024
1 parent 27246e3 commit c3c20f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ai/lottery_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion ai/lottery_probability_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c3c20f1

Please sign in to comment.