Machine Learning.
network. See code below for details. The key is to train both networks in parallel while not completely overfitting and thus copying the dataset. The learned features need to generalize to unseen examples, so learning the dataset would not be of use. Training code of DCGAN in Torch7 is also