callmevojtko / Recommended-Bets-By-Email-MLB

An advanced machine learning model utilizes a Random Forest Regressor to generate betting recommendations for Major League Baseball (MLB) games.
MIT License
17 stars 5 forks source link

Script not filtering todays games #1

Closed callmevojtko closed 1 year ago

callmevojtko commented 1 year ago

image

Teams that are not included in the API dataframe should not be included in the training data. Current function and loops are not solving issue.

callmevojtko commented 1 year ago

Updated load_preprocess_data function with teams_playing_today variable and updated relevant positional arguments and issue was resolved. 9c3a25532a1994e9e866d83fe139a18ba56c991a