Exemple #1
0
 def __init__(self, args, corpus):
     self.time_bin = args.time_bin
     self.min_time = corpus.min_time
     self.time_bin_width = (corpus.max_time - self.min_time +
                            1.) / self.time_bin
     BPR.__init__(self, args, corpus)
Exemple #2
0
 def __init__(self, args, corpus):
     self.layers = eval(args.layers)
     self.dropout = args.dropout
     BPR.__init__(self, args, corpus)