added gen_regressor to CLI