Learn R Programming

ruta (version 1.2.0)

configure: 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)

Value

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

Arguments

learner

A "ruta_autoencoder" object

input_shape

An integer describing the number of variables in the input data