add regressor interface

Regressor interface..