def __valid_svm_params(params):
    """Whether supplied params are valid for an SVM classifier

    Args:
        params (dict): Dictionary of parameters and its values.

    Returns:
        Whether supplied params are valid or not.

    """

    # valid svm params
    svm_params = ['kernel', 'C', 'gamma']

    # the parameters for SVM are strictly the 3 stated above
    return len(set(params.keys()) & set(svm_params)) != 3