Hyperparameter Tuning: Keras Generic Classification Function.
evalKerasGeneric(x = NULL, kerasConf = NULL, specList = NULL)
list with function values (training, validation, and test loss/accuracy, and keras model information)
matrix of transformed hyperparameter values to evaluate with the function.
If NULL
, a simple keras model will be build, which is considered default
(see getSimpleKerasModel
).
List of additional parameters passed to keras as described in
getKerasConf
. If no value is specified, stop() is called.
prepared data. See genericDataPrep
.
See getGenericTrainValTestData
.
Trains a simple deep NN on a generic data set. Standard Code from https://tensorflow.rstudio.com/. Modified by T. Bartz-Beielstein.
getKerasConf
funKerasGeneric
fit