A Study of Inference-Based Attacks with Neural Network Classifiers