import pickle


def load_model(model_path):
    """
    loads any trained model from model_path

    args: 
        model_path (path-like): read from config.yaml

    retuns:
        model (sklearn.svm.SVC): trained classifier
    """
    with open(model_path, "rb") as pickle_infile:
        model = pickle.load(pickle_infile)
    return model