def get_estimator_name(clf):
    """
    Extract the estimator name from the the estimator object {clf}
    :param clf: estimator object
    :return: string name
    """
    return str(type(clf)).split('.')[-1].replace("'>", "")