If your anomalies are simply peaks, why should you be using machine learning methods? You could use peak detection algorithms for the purpose. If you still insist on ML, isolation forest is a good try.


$F$ in this context is the output of the Convolutional Neural Network that's being trained, which is of the same size as $X$.

Only top voted, non community-wiki answers of a minimum length are eligible