Open
Description
I am trying to compute idfs for a different corpus but I cannot figure out how.
The docs state that it is the output of pkgmatch_bm25()
Lines 50 to 52 in caa1dad
But the inputs of pkgmatch_bm25()
don't match what I would expect here (I would expect the same inputs as pkgmatch_embeddings_from_pkgs()
) and the output doesn't seem to match what pkgmatch_similar_pkgs()
is expecting anyways.
In other words, if such as function doesn't exist yet, I would like a function pkgmatch_idfs_from_pkgs()
which would be the equivalent of pkgmatch_embeddings_from_pkgs()
for the idfs
argument in pkgmatch_similar_pkgs()
.
Metadata
Metadata
Assignees
Labels
No labels