inching closer to the truth

This commit is contained in:
anon
2024-10-09 15:16:53 +02:00
parent 4b6bf0f208
commit f8c8f7ef0c
9 changed files with 82 additions and 51 deletions

View File

@ -10,11 +10,9 @@ import tard_wrangler
if len(argv) > 1:
mymodel = model.load_model(argv[1])
else:
dataset = data.get_data()
dataset = data.get_data("dataset-linux.pkl")
mymodel = model.make_model(dataset)
timestamp = datetime.now().strftime("%Y%m%d-%H%M%S")
mymodel.save(MODEL_DIRECTORY + f"model_-_{timestamp}.keras")
predictions = tard_wrangler.full_predict("data/xop.c.norm", mymodel)
tard_wrangler.build("data/xop.c.norm", predictions)
tard_wrangler.cat_build()
print(tard_wrangler.full_predict("training_set/xop.c", "training_set/xop.c.norm", mymodel))