use checkLearner in showHyperPars