Wraps the import of the (new) sklearn.model_selection with a try/except, falling back to the (old) sklearn.cross_validation module on failure. Users upgrading only hep_ml shouldn't see any difference, but users installing hep_ml from scratch will no longer see the deprecation warning.
Wraps the
import
of the (new)sklearn.model_selection
with atry/except
, falling back to the (old)sklearn.cross_validation
module on failure. Users upgrading only hep_ml shouldn't see any difference, but users installing hep_ml from scratch will no longer see the deprecation warning.This fixes #46.