Introduce a dispatch mechanism to allow different learners for ordinal/nominal/continuous