run the ISLR CNN for CIFAR100 data

run_cifar100(nEpochs = 30, batchSize = 128, valSplit = 0.2)

Arguments

nEpochs

numeric(1) defaults to 30

batchSize

numeric(1) defaults to 128

valSplit

numeric(1) defaults to 0.2

Value

a list with elements history and model

Note

Takes 15+ minutes on a CPU, with default settings. This is derived from Introduction to Statistical Learning with R by G. James, D. Witten, T. Hastie, R. Tibshirani.

Examples

r1 = run_cifar100(nEpochs=3)
plot(r1$history)