predict.autoenc: Predict method for a fitted autoencoder

Description Usage Arguments Value

View source: R/autoenc.R

Description

Predict method for a fitted autoencoder

Usage

1
2
## S3 method for class 'autoenc'
predict(object, newdata, ...)

Arguments

object

autoenc. An object returned by sparse_autoenc function.

newdata

dataframe or matrix. An object to predict upon

...

further arguments passed to or from other methods

Value

Returns a numeric matrix, where each row of the input matrix corresponds to the value at the last hidden layer of the autoencoder.


kirillseva/autoenc documentation built on May 20, 2019, 10:23 a.m.