对现方法写代码有帮助的code行
2020-03-30 本文已影响0人
啊啊啊啊啊1231
https://github.com/hello-dx/VBPR/blob/master/VBPR.py
self.imageFeaMatrix[self.item_dict[item]] = self.imageFeatures[item]
item: item's old id
self.item_dict[item}: item's new id,从零开始计数
https://github.com/hello-dx/VBPR/blob/master/VBPR.py
self.imageFeaMatrix[self.item_dict[item]] = self.imageFeatures[item]
item: item's old id
self.item_dict[item}: item's new id,从零开始计数