Improvements to support naive Bayes classification of text documents
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- julia
- Área
- machine-learning
Línea de trabajo
Comienza comparando el wrapper existente de MLJNaiveBayesInterface.jl con el soporte de diccionarios en NaiveBayes.jl y el clasificador específico para texto en TextAnalysis. Aclara si la interfaz debe admitir entradas Multiset arbitrarias, matrices dispersas o ambas, y luego define el alcance elegido y sus criterios de finalización antes de cambiar el código.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Svelte
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de JuliaAI/MLJ
-
Make citation easier to findAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
Move "Encoders" to "By task"Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
-
Disappearing Hyperpapameter Tuning paneQuizá libre de nuevo @EssamWisam la tomó hace 580 días y no hay ningún pull request abierto. Abierto
-
Collecting testimonials on MLJAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
-
help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Todos los issues de JuliaAI/MLJ
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
tensorflow/tfjs#8754 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
[BUG]: loo_eval crashes when the requested control count is zero or exceeds the eligible poolAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AOSSIE-Org/OpenVerifiableLLM#303 ·
Los mantenedores suelen responder en 1 día
-
needs-triage type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
regression skipped skipped_bmg
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
intel/torch-xpu-ops#6089 ·
Los mantenedores suelen responder en 2 días