A comparative study of inductive and transductive learning with feedforward neural networks