Learn R Programming

ANN2 (version 2.3.4)

reconstruct: Reconstruct data using trained ANN object of type autoencoder

Description

reconstruct takes new data as input and reconstructs the observations using a trained replicator or autoencoder object.

Usage

reconstruct(object, X)

Arguments

object

Object of class ANN created with autoencoder()

X

data matrix to reconstruct

Value

Reconstructed observations and anomaly scores (reconstruction errors)

Details

A genereric function for training neural nets