def train_model(model, feature_matrix, train_values):
    """
    Train classifier model
    :param model: classifier model
    :param feature_matrix: feature matrix
    :param train_values: values to train the model on
    :return: trained model
    """
    model["classifier"].fit(feature_matrix, train_values)
    return model