<p>There is a paper <a href="https://arxiv.org/pdf/1802.06360.pdf" rel="nofollow noreferrer">Anomaly Detection Using One-Class Neural Networks</a>
which combines One-Class SVM and Neural Networks.</p>

<p>Here is <a href="https://github.com/raghavchalapathy/oc-nn" rel="nofollow noreferrer">source code</a>.  However, I've had difficulty connecting the source code and the paper.</p>
Can a neural network be trained with just a single class of training data?
<p>I just want to know if a neural network can be trained with a single class of data set. I have a set of data that I want to train a neural network with. After training it, I want to give new data(for testing) to the trained neural network to check if it can recognize it as been similar to the training sample or not. </p>

<p>Is this possible with neural network? If yes, will that be a supervised learning or unsupervised.</p>

<p>I know neural networks can be used for classification if there are multiple classes but I have not seen with a single class before. A good explanation and link to any example will be much appreciated. Thanks </p>