configure: Configure a learner object with the associated Keras objects

View source: R/autoencoder.R

configureR Documentation

Configure a learner object with the associated Keras objects

Description

This function builds all the necessary Keras objects in order to manipulate internals of the models or train them. Users won't generally need to call this function, since train will do so automatically.

Usage

configure(learner, input_shape)

Arguments

learner

A "ruta_autoencoder" object

input_shape

An integer describing the number of variables in the input data

Value

Same learner passed as parameter, with new members input_shape, models and keras_loss


ruta documentation built on Jan. 9, 2023, 1:20 a.m.