upload the ai trainer

This commit is contained in:
2026-02-17 18:38:53 -08:00
parent 29c0661808
commit 2684c799f8
+5
View File
@@ -1,10 +1,15 @@
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import datapuller
import os
from sklearn.model_selection import train_test_split
from keras import Sequential, layers, optimizers
def TrainAI():
# Pull New Data
datapuller.pull()
# Get the CWD for pathing due to being called from C# now
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
DATA_DIR = os.path.join(SCRIPT_DIR, "data")