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
2
3
4
encode(object, ...)

## S3 method for class 'ANN'
encode(object, newdata, compression.layer = NULL, ...)

Arguments

object

Object of class ANN

...

arguments to be passed down

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 Feb. 5, 2021, 9:10 a.m.