def get_submodel_name(history = 60, lag = 365, num_neighbors = 20, margin_in_days = None, metric = "cos"):
    """Returns submodel name for a given setting of model parameters
    """
    submodel_name = '{}-autoknn-hist{}-nbrs{}-margin{}-lag{}'.format(metric,
                                                                     history,
                                                                     num_neighbors, 
                                                                     margin_in_days, 
                                                                     lag)

    return submodel_name