Adding initial game stats and visiting stats

This commit is contained in:
2025-07-07 20:07:02 +00:00
parent 1234d95510
commit 3f2568875f
4 changed files with 144 additions and 23 deletions

View File

@@ -1,6 +1,7 @@
import numpy as np # helps with the math
import matplotlib.pyplot as plt # to plot error during training
from data.db_connect import Database
from data.stats_importer import parse_csv
# input data
inputs = np.array([[0, 0, 1, 0],
@@ -68,6 +69,9 @@ if __name__ == '__main__':
db_conn.run_sql_file(fill_parks_path)
db_conn.run_sql_file(fill_teams_path)
test_csv = "./data/stats/gl2022.csv"
print(parse_csv(test_csv))
else:
# create neural network
NN = NeuralNetwork(inputs, outputs)