VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.decoderLayerSizes(int... decoderLayerSizes) |
Size of the decoder layers, in units.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.encoderLayerSizes(int... encoderLayerSizes) |
Size of the encoder layers, in units.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.lossFunction(Activation outputActivationFn,
LossFunctions.LossFunction lossFunction) |
Configure the VAE to use the specified loss function for the reconstruction, instead of a
ReconstructionDistribution.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.lossFunction(IActivation outputActivationFn,
ILossFunction lossFunction) |
Configure the VAE to use the specified loss function for the reconstruction, instead of a
ReconstructionDistribution.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.lossFunction(IActivation outputActivationFn,
LossFunctions.LossFunction lossFunction) |
Configure the VAE to use the specified loss function for the reconstruction, instead of a
ReconstructionDistribution.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.nOut(int nOut) |
Set the size of the VAE state Z.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.numSamples(int numSamples) |
Set the number of samples per data point (from VAE state Z) used when doing pretraining.
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.pzxActivationFn(IActivation activationFunction) |
Activation function for the input to P(z|data). Care should be taken with this, as some activation
functions (relu, etc) are not suitable due to being bounded in range [0,infinity).
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.pzxActivationFunction(Activation activation) |
Activation function for the input to P(z|data). Care should be taken with this, as some activation
functions (relu, etc) are not suitable due to being bounded in range [0,infinity).
|
VariationalAutoencoder.Builder |
VariationalAutoencoder.Builder.reconstructionDistribution(ReconstructionDistribution distribution) |
The reconstruction distribution for the data given the hidden state - i.e., P(data|Z). This should be
selected carefully based on the type of data being modelled.
|