for (int i = 0; i < testUserIDs.length; i++) {
for (int j = 0; j < testItemIDs.length; j++) {
double newValue = SimpleVectorMath.dot(X.get(testUserIDs[i]), Y.get(testItemIDs[j]));
double oldValue = estimates[i][j];
estimates[i][j] = newValue;
averageAbsoluteEstimateDiff.increment(FastMath.abs(newValue - oldValue), FastMath.max(0.0, newValue));
}
}
iterationNumber++;
log.info("Finished iteration {}", iterationNumber);