Learn R Programming

ruta (version 1.2.0)

new_autoencoder: Create an autoencoder learner

Description

Internal function to create autoencoder objects. Instead, consider using \link{autoencoder}.

Usage

new_autoencoder(network, loss, extra_class = NULL)

Value

A construct of class "ruta_autoencoder"

Arguments

network

Layer construct of class "ruta_network" or coercible

loss

A "ruta_loss" object or a character string specifying a loss function

extra_class

Vector of classes in case this autoencoder needs to support custom methods (for to_keras, train, generate or others)