added classify and classify_many methods for logreg classifier