@staticmethod
def _get_common_info(tuning_alg, epm, eva):
    """
        Returns a dict of information common to both CrossValidator and TrainValidationSplit
        """
    est = tuning_alg.getOrDefault(tuning_alg.estimator)
    params = {'mlModelClass': tuning_alg.__class__.__name__,
        'mlEstimatorUid': tuning_alg.uid, 'estimator': type(est).__name__,
        'evaluator': type(eva).__name__, 'estimatorParamMapsLength': len(epm)}
    return params
