refactoring to use classes instead of strings in Learner.py

 refactoring to use classes instead of strings for _REQUIRES_DENSE, _DEFAULT_PARAM_GRIDS.  replaced _REGRESSION_MODELS with check for RegressorMixin.