Add abstract Regression class as better train/test interface.