upload the ai trainer
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
import datapuller
|
||||||
import os
|
import os
|
||||||
from sklearn.model_selection import train_test_split
|
from sklearn.model_selection import train_test_split
|
||||||
from keras import Sequential, layers, optimizers
|
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
|
# Get the CWD for pathing due to being called from C# now
|
||||||
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
DATA_DIR = os.path.join(SCRIPT_DIR, "data")
|
DATA_DIR = os.path.join(SCRIPT_DIR, "data")
|
||||||
|
|||||||
Reference in New Issue
Block a user