foundation for classifier framework -- attempt linear classifier first