online-ml/river

Online GapEncoder

Chiusa

#1439 aperta il 3 nov 2023

 (4 commenti) (0 reazioni) (0 assegnatari)Python (553 fork)batch import
Good first issueNew feature

Metriche repository

Star
 (4574 stelle)
Metriche merge PR
 (Merge medio 47g 6h) (46 PR mergiate in 30 g)

Descrizione

skrub is a wonderful new project related to scikit-learn. You can see Gaël Varoquaux present it here. They have a transformer called GapEncoder: it's a way to embed fuzzy strings. This could be really powerful online, say for classifying Tweets or Twitch messages, where typos are aplenty.

We already have a way to do online TD-IDF/count vectorization. But we don't have Gamma-Poisson matrix factorization. It is doable online though. Once we have it, we could assemble the two into a nice GapEncoder class. See paper here.

This is related to #1412. Indeed, maybe this works well without Gamma-Poisson matrix factorization. For instance, we could use decomposition.LDA, which we already have.

Guida contributor