def _get_predictor_kwargs(predictor_kwargs, **kwargs) -> dict:
    """Overwrites default args if predictor_kwargs is supplied."""
    for key, value in kwargs.items():
        if key not in predictor_kwargs.keys():
            predictor_kwargs[key] = value
    return predictor_kwargs