Learn R Programming

ANN2 (version 2.3.4)

decode: Decoding step

Description

Decompress low-dimensional representation resulting from the nodes of the middle layer. Output are the reconstructed inputs to function encode()

Usage

decode(object, ...)

# S3 method for ANN decode(object, compressed, compression.layer = NULL, ...)

Arguments

object

Object of class ANN

arguments to be passed down

compressed

Compressed data

compression.layer

Integer specifying which hidden layer is the compression layer. If NULL this parameter is inferred from the structure of the network (hidden layer with smallest number of nodes)