encode: Encoding step

Description Usage Arguments

View source: R/interface.R

Description

Compress data according to trained replicator or autoencoder. Outputs are the activations of the nodes in the middle layer for each observation in newdata

Usage

1
encode(object, newdata, compression.layer = NULL)

Arguments

object

Object of class ANN

newdata

Data to compress

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)


bflammers/ANN2 documentation built on Oct. 27, 2018, 12:17 a.m.