(self, hist)
| 198 | return [neg_item_hist, neg_cate_hist, neg_shop_hist, neg_node_hist, neg_product_hist, neg_brand_hist] |
| 199 | |
| 200 | def fill_ndarray(self, hist): |
| 201 | nd_his = np.ones(self.maxlen) * -1 |
| 202 | nd_his[:len(hist)] = hist |
| 203 | return nd_his |
| 204 | |
| 205 | # 2nd method by using previous user's behavior to replace the current user's negative behavior data |
| 206 | def process2(self, data_files, file_name): |
nothing calls this directly
no outgoing calls
no test coverage detected