neural net version of classifier