a
This commit is contained in:
parent
33437b95c1
commit
89fa4e34c7
2 changed files with 1 additions and 1 deletions
|
@ -71,6 +71,7 @@ public class BasicAssociationModelProvider implements Provider<AssociationModel>
|
|||
LongSortedSet yUsers = yEntry.getValue();
|
||||
|
||||
// TODO Compute P(Y & X) / P(X) and store in itemScores
|
||||
itemScores.addTo(yId, 1.0 / xUsers.size());
|
||||
}
|
||||
|
||||
// save the score map to the main map
|
||||
|
|
|
@ -62,7 +62,6 @@ public class DampedItemMeanModelProvider implements Provider<ItemMeanModel> {
|
|||
*/
|
||||
@Override
|
||||
public ItemMeanModel get() {
|
||||
// TODO Compute damped means
|
||||
Long2DoubleOpenHashMap means = new Long2DoubleOpenHashMap();
|
||||
Long2IntOpenHashMap lens = new Long2IntOpenHashMap();
|
||||
double globalMean = 0;
|
||||
|
|
Loading…
Reference in a new issue