Skip to content

Add an example of fast prediction via BLAS to documentation #427

Description

@inpefess

There is already one optimisation PR for predict method: #105

But sometimes one probably can do it in a simpler way (just using numpy with BLAS):
https://github.com/inpefess/lightfm/blob/predict_comparison/examples/batch_predict/predicting_with_matrix_multiplication.ipynb

@maciejkula what do you think about adding another, say predict_numpy/predict_all method like that for batch predictions? If yes, I can prepare a PR from the example code above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions