import json


def read_hyperparameters(hyperparameter_json):
    """Read the json file and return the hyperparameters as dict

    Args:
        hyperparameter_json (json): Json file containing the hyperparameters of the trained model

    Returns:
        [dict]: Python dictionary of the hyperparameters
    """
    with open(hyperparameter_json) as f_in:
        return json.load(f_in)