Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Fix wrong getV() arg on ffm_predict
Browse files Browse the repository at this point in the history
  • Loading branch information
takuti committed Mar 1, 2017
1 parent 1e83eb5 commit 45567c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hivemall/fm/FFMPredictUDF.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private static double predict(@Nonnull final Feature[] x,
if (!model.getV(ei, jField, vij)) {
continue;
}
if (!model.getV(ej, iField, vij)) {
if (!model.getV(ej, iField, vji)) {
continue;
}
for (int f = 0; f < factors; f++) {
Expand Down

0 comments on commit 45567c8

Please sign in to comment.