a541e8186f125b943455861a9b7d1aed09ecea32,algorithm/rating/SlopeOne.py,SlopeOne,predict,#SlopeOne#,27
Before Change
average.setdefault(i1,ave)
def predict(self,u,i):
diff={}
for i2 in self.dao.item:
pass
After Change
for item in self.dao.testSet_u[u].keys():
pass
else:
for item in self.dao.testSet_u[u].keys():
pred = self.dao.itemMeans[item]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: Coder-Yu/RecQ
Commit Name: a541e8186f125b943455861a9b7d1aed09ecea32
Time: 2016-11-11
Author: 156698920@qq.com
File Name: algorithm/rating/SlopeOne.py
Class Name: SlopeOne
Method Name: predict
Project Name: cve-search/cve-search
Commit Name: 85907c9a522f18815ea4cde57b9b47af7f285703
Time: 2016-11-20
Author: a@foo.be
File Name: bin/cve_refs.py
Class Name:
Method Name:
Project Name: nilmtk/nilmtk
Commit Name: 63ef8bfa3b63090437bd27bf1e04db7ae1eae3cf
Time: 2014-11-27
Author: jack-list@xlk.org.uk
File Name: nilmtk/stats/totalenergy.py
Class Name:
Method Name: get_total_energy