Improvements to support naive Bayes classification of text documents
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- julia
- Ambito
- machine-learning
Direzione di ricerca
Inizia confrontando il wrapper esistente di MLJNaiveBayesInterface.jl con il supporto dei dizionari in NaiveBayes.jl e il classificatore specifico per il testo in TextAnalysis. Chiarisci se l'interfaccia debba supportare input Multiset arbitrari, matrici sparse o entrambi, quindi definisci l'ambito scelto e i relativi criteri di completamento prima di modificare il codice.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently we wrap NaiveBayes.jl, but only allow tabular input (internally converted to matrix) which limits application to NLP and elsewhere. However NaiveBayes.jl itself supports dictionary input.
There is also a text-specific NaiveBayes classifier in TextAnalysis, which accepts dictionaries (keyed on abstract strings).
I have never used either package seriously but my gut feeling is that there would be little difference in performance when using dictionaries, and would suggest we simply enhance the existing interface at MLJNaiveBayesInterface.jl rather than write a new interface. Also, there would be no reason I see to restrict to abstract string keys - any abstract dictionary with Integer values should be supportable. Such objects have the scientific type Multiset{S} where S is the scitype of the keys. So we could support any Multiset as input.
Another possibility might be to add support for sparse matrices, probably adjoints of julia's SparseArrayCSC matrices (input to MLJ model is n x p by convention). However this requires a small generalisation of the NaiveBayes package (needed anyway) which at the moment only supports concrete Matrix types.
Very happy to hear some different suggestions for improving naive bayes support.
@storopoli Perhaps this is something you would be interested in helping out with?
cc @pazzo83
- Lingua principale
- Svelte
- Stelle
- 3
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di JuliaAI/MLJ
-
Make citation easier to findAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Move "Encoders" to "By task"Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
Disappearing Hyperpapameter Tuning paneForse di nuovo libera @EssamWisam l’ha presa 579 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
triton-inference-server/server#9069 ·
I maintainer di solito rispondono entro 1 giorno
-
[distributions] FisherSnedecor and GeneralizedPareto return nan for moments that are infiniteApertabot-triaged module: distributions module: NaNs and Infs triage review
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Level-1 sleep discards the `runtime` and `cudagraph` CuMem pools, so the first request after `wake_up` fails with an illegal memory access (vLLM 0.32)Forse già presa @Mikael17125 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/vllm-omni#9988 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Niko1221/Strata#5447 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni