new_autoencoder: Create an autoencoder learner

View source: R/autoencoder.R

new_autoencoderR Documentation

Create an autoencoder learner

Description

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

Usage

new_autoencoder(network, loss, extra_class = NULL)

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)

Value

A construct of class "ruta_autoencoder"


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