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)


ANN2 documentation built on Dec. 1, 2020, 5:08 p.m.