R/islr_cnn_code.R
islr_cnn.Rd
use the CNN in Introduction to Statistical Learning with R on an ImageArray instance
islr_cnn(iarr, nEpochs = 30, batchSize = 128, valSplit = 0.2)
ImageArray instance, must have 32x32x3 images
numeric(1) used in call to fit for keras_model_sequential
numeric(1) used in call to fit for keras_model_sequential
numeric(1) used in call to fit for keras_model_sequential
list with components model (compiled model), history (of fit), and vector of unique type labels used for inputs, marked as an S3 class islr_cnn