Open sadrasabouri opened 2 years ago
Thank you for writing this solution!
Would you mind making a pull request with the updated code and updating the Jupyter notebook with an example? I am happy to incorporate this.
Thanks again! Ravi B. Sojitra
Sure you can assign me this issue and I'll take care of if ASAP.
Is your feature request related to a problem? Please describe. In my case (using PLDA for information retrieval) it'd better to predict [let's say] best
n
options instead of the best one for a given query. I figured out that thepredict
method does not support this feature. But it can be done usingcalc_logp_pp_categories
method.Describe the solution you'd like My fast solution for solving this was to use bellow code: