def get_search_results(random_search):
    """Gets the best estimator, parameters, score, and results from a RandomizedSearchCV.

    Parameters
    ----------
    random_search : RandomizedSearchCV
        A fit sklearn RandomizedSearchCV object

    Returns
    -------
    dict
        A dictionary of results
    """
    results = {
        "best_estimator": random_search.best_estimator_,
        "best_params": random_search.best_params_,
        "best_score": random_search.best_score_,
        "cv_results_": random_search.cv_results_,
    }

    return results