View source: R/downscalePredictHidden.keras.R
downscalePredictHidden.keras | R Documentation |
Obtain the output of the hidden layers in a deep learning keras model for downscaling, previously infered with downscaleTrain.keras
Also, returns the kernel of the corresponding hidden layer that generated the output.
downscalePredictHidden.keras(newdata, model, layer, clear.session)
newdata |
The grid data. It should be an object as returned by |
model |
An object containing the statistical model as returned from |
layer |
A string or numeric value. The output of which hidden layer should be returned? |
clear.session |
A logical value. Indicates whether we want to destroy the current tensorflow graph and clear the model from memory.
In particular, refers to whether we want to use the function |
This function relies on keras, which is a high-level neural networks API capable of running on top of tensorflow, CNTK or theano. There are official keras tutorials regarding how to build deep learning models. We suggest the user, especially the beginners, to consult these tutorials before using downscalePredictHidden.keras.
A list containing the filter maps and the associated kernels.
J. Bano-Medina
downscaleTrain.keras for training a downscaling deep model with keras downscalePredict.keras for predicting with a keras model prepareNewData.keras for predictor preparation with new (test) data downscaleR.keras Wiki
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.