Description Usage Arguments Value
Functions to stop (by returning FALSE
) the training if it has converged.
continue.function.exponential
fits an exponential to the error and return TRUE
if the function hasn't converged (or in case of doubt), FALSE
if the function has converged or if the data couldn't be fitted (plateau reached or no exponential fit).
As a side effect, this function plots the error and the fit, and prints a summary of the fit on the console
continue.function.always
always returns true so that the training carries on until maxiters
is reached
1 2 3 4 5 6 7 8 9 10 11 12 | continue.function.exponential(error, iter, batchsize, maxiters,
layer = 0, ic = AIC)
continue.function.always(error, iter, batchsize, maxiters, layer = 0)
continue.function.exponential.aic(error, iter, batchsize, maxiters,
layer = 0)
continue.function.exponential.bic(error, iter, batchsize, maxiters,
layer = 0)
continue.function.random(error, iter, batchsize, maxiters, layer = 0)
|
error |
a vector of the errors along the training |
iter, batchsize |
current iteration number and batchsize. |
maxiters |
maximum number of iterations |
layer |
during RBM pre-training, which layer is being pre-trained. Otherwise, 0. |
ic |
the Information Criterion to use, typically |
boolean (see description)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.