1,502 questions
Advice
0
votes
0
replies
32
views
Why use loss threshold for anomaly detection using AutoEncoders?
Recently I have been practicing with AutoEncoders and trying to use them for anomaly detection. I have been told that using a threshold on the loss to classify anomalies (calibrated with roc-curve) is ...
Advice
0
votes
8
replies
87
views
Variational Autoencoders Visualisation
I am unable to visualise how variational autoencoders work graphically. I have understood the equations but am unable to figure out how this would all translate visually, like what is the purpose of P(...
Best practices
0
votes
1
replies
27
views
Tensorflow Keras Autoencoder Masking Features not Timesteps
I have Conv1D autoencoder network, and i a have unreliable data source of a data stream, speaking i receive different event patterns at fixed interval of e.g. 2 seconds. Sometimes I have 4 different ...
0
votes
1
answer
179
views
CNN Autoencoder takes a very long time to train
I have been training a CNN Autoencoder on binary images (pixels are either 0 or 1) of size 64x64. The model is shown below:
import torch
import torch.nn as nn
import torch.nn.functional as F
class ...
1
vote
1
answer
121
views
LogVar layer of a VAE only returns zeros
I'm building a Variational auto encoder (VAE) with tfjs.
For now I'm only exploring with the fashionMNIST dataset and a simple model as follows:
input layer (28*28*1)
flatten
intermediate_1 (dense 50 ...
0
votes
0
answers
110
views
Autoencoder for multi-label classification task
I'm working on a multi-label classification problem using an autoencoder-based neural network built in PyTorch. The overall idea of my approach is as follows:
I load my dataset from a CSV file, ...
0
votes
1
answer
90
views
gradient tape for custom loss function
I'm currently working with an autoencoder in hopes to test its accuracy vs pca. My tutor asked me to add a custom loss function that involves the derivatives of the decoder output with respect to the ...
0
votes
1
answer
54
views
LSTM autoencoder very poor results
I am working on blockchain transaction anomaly detection system and testing various models. Currently I am stuck on a LSTM autoencoder. I have preprocessed transaction data from ethereum network (used ...
-1
votes
1
answer
69
views
How do I display the images generated by an autoencoder?
I created an autoencoder using python, with no errors. However, I do not know the code for how do display the generated images from the autoencoder. The code of the autoencoder is shown below:
import ...
1
vote
1
answer
88
views
How to implement an autoencoder model as PMML?
suppose we have the following model:
how can we build such a model and export it as PMML file?
is PMML capable to encode such model structure?
what are the necessary component in PMML to generate N ...
1
vote
1
answer
3k
views
The layer sequential has never been called and thus has no defined input error when trying to extract layers from sequential model
I am trying to extract the layers from a sequential model to build an autoencoder. I trained the model on some data but when I try to get model.input from my model I get an error saying that it has ...
0
votes
1
answer
41
views
Test step of VAE returns only 0s
I'm jumping back into a project I stopped working on last year (mostly). I had already encountered this issue, and this answer solved it back then. I am currently running basically the exact script ...
1
vote
0
answers
103
views
How to implement an Autoencoder for a binary dataset?
I was asked to create an Autoencoder that reconstructs the binary CSV file (decode).
I implemented one based on the MNIST example from geeksforgeeks. But I am very uncertain about the correctness, ...
-1
votes
1
answer
47
views
Recreating Text Embeddings From An Example Dataset
I have a list of sentences, and a list of their ideal embeddings on a 25-dimensional vector. I am trying to use a neural network to generate new encodings, but I am struggling. While the model runs ...
4
votes
0
answers
456
views
Workaround for removal of add_loss()
I'm working through a Keras/Tensorflow course that uses Keras 2 to build a variational autoencoder and I'm trying to get it working in Keras 3. I've managed to overcome a lot of issues but I'm stuck ...