Adding win and if the team is home to the database, calculations for win and lose streak, and returning the training data. Fixing sunrise sunset times
This commit is contained in:
8
main.py
8
main.py
@@ -17,10 +17,12 @@ inputs = np.array([[0, 0, 1, 0],
|
||||
outputs = np.array([[0], [0], [0], [1], [1], [1]])
|
||||
|
||||
if __name__ == '__main__':
|
||||
db_file = "./database/baseball.db"
|
||||
db_conn = Database(db_file)
|
||||
#db_file = "./database/baseball.db"
|
||||
#db_conn = Database(db_file)
|
||||
|
||||
pull_training_data(db_conn, "20240602", 0, "BAL12")
|
||||
#pull_training_data(db_conn, "20240602", 0, "BAL12")
|
||||
|
||||
print(get_sun_and_moon_phase(39.283889, -76.621667, "20240602"))
|
||||
|
||||
"""
|
||||
build_db_path = "./data/sql/build_db.sql"
|
||||
|
||||
Reference in New Issue
Block a user