Skip to content

Commit

Permalink
Merge pull request #512 from PaschalisSk/hotfix/predict-returned-type
Browse files Browse the repository at this point in the history
LightFM.predict returning np.float64 instead of np.float32
  • Loading branch information
maciejkula authored Nov 27, 2020
2 parents 74512fb + e1ed5a7 commit 445a91c
Show file tree
Hide file tree
Showing 4 changed files with 8,140 additions and 7,712 deletions.
2 changes: 1 addition & 1 deletion lightfm/_lightfm_fast.pyx.template
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ def predict_lightfm(CSRMatrix item_features,
CSRMatrix user_features,
int[::1] user_ids,
int[::1] item_ids,
double[::1] predictions,
flt[::1] predictions,
FastLightFM lightfm,
int num_threads):
"""
Expand Down
Loading

0 comments on commit 445a91c

Please sign in to comment.