Abstract Regression-Classification Machine