PeARSearch / PeARS-federated

This is the version of PeARS for use in a federated context: admins create PeARS instances that users can join to contribute to the index.
Other
18 stars 7 forks source link

Deal with NaN in search functions #39

Closed minimalparts closed 4 months ago

minimalparts commented 4 months ago

We have an issue in the intersect... functions in app/search/score_pages.py. We are not transforming NaNs into 0s, and we are also summing across the cosine matrix column-wise without properly dealing with NaNs (which may be frequent when the index is still small). Fix.

minimalparts commented 4 months ago

Fixed in commit 444db59. Closing the issue.