Example #1
0
 def __init__(self, computed_index):
     utils.auto_assign(self, vars(computed_index))
     self.computed_index = computed_index
     self.time = 0
Example #2
0
 def __init__(self, computed_index):
     utils.auto_assign(self, vars(computed_index))
     self.computed_index = computed_index
     self.time = 0
Example #3
0
 def __init__(self, time, total_found, query_item_ids, _query_item_ids, log_scores):
     utils.auto_assign(self, locals())
Example #4
0
 def __init__(self, time, total_found, query_item_ids, _query_item_ids,
              log_scores):
     utils.auto_assign(self, locals())
Example #5
0
 def __init__(self, computed_index, caching=False):
     utils.auto_assign(self, vars(computed_index))
     self.time_taken = 0
Example #6
0
 def __init__(self, no_items, X, item_id_to_index, index_to_item_id,
     alpha, beta, alpha_plus_beta, log_alpha, log_beta, db_params, index_to_feat):
     utils.auto_assign(self, locals())
Example #7
0
 def __init__(self, computed_index, caching=False):
     utils.auto_assign(self, vars(computed_index))
     self.time_taken = 0
Example #8
0
 def __init__(self, no_items, X, item_id_to_index, index_to_item_id, alpha,
              beta, alpha_plus_beta, log_alpha, log_beta, db_params,
              index_to_feat):
     utils.auto_assign(self, locals())