trainAndSave
fun trainAndSave(train: Dataset, test: Dataset, model: Sequential, path: String, accuracyThreshold: Double = 0.7)
Content copied to clipboard
Train model on train dataset and evaluate accuracy on test dataset until accuracyThreshold is reached then saves model to the folder path.