API reference, deeppy.autoencoder

class deeppy.autoencoder.autoencoder.Autoencoder(n_out, weights, bias=0.0, bias_prime=0.0, activation='sigmoid', loss='bce')[source]

Bases: deeppy.base.Model, deeppy.base.PickleMixin

decode(y)[source]
decode_bprop(x_grad)[source]
embed(input)[source]

Returns the embedding of the input.

encode(x)[source]
encode_bprop(y_grad)[source]
feedforward_layers()[source]
output_shape(input_shape)[source]
reconstruct(input)[source]

Returns the reconstructed input.

class deeppy.autoencoder.autoencoder.DenoisingAutoencoder(n_out, weights, bias=0.0, bias_prime=0.0, corruption=0.25, activation='sigmoid', loss='bce')[source]

Bases: deeppy.autoencoder.autoencoder.Autoencoder

corrupt(x)[source]
class deeppy.autoencoder.stacked_autoencoder.StackedAutoencoder(layers, loss='bce')[source]

Bases: deeppy.autoencoder.autoencoder.Autoencoder

ae_models()[source]
decode(y)[source]
decode_bprop(x_grad)[source]
encode(x)[source]
encode_bprop(y_grad)[source]
feedforward_layers()[source]
class deeppy.autoencoder.stacked_autoencoder.StackedAutoencoderLayer(ae, prev_layers)[source]

Bases: deeppy.autoencoder.autoencoder.Autoencoder