Raise warning when self.classes is an empty list for voters.

Abierto
#398 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python, scikit-learn

Línea de trabajo

Start by locating the voter implementation and its prediction method, then check how self.classes is initialized and used when making predictions. The issue requests a warning when that list is empty; done means a prediction with no classes emits the warning. The issue has had no comment activity for over five years, so check whether the work has moved elsewhere before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

ndd

Is your feature request related to a problem? Please describe.
When manually using voters I did not realize I had to give the set of classes and that otherwise is was using an empty list.

Describe the solution you'd like
Raise a warning when self.classes is empty and you try to make a prediction.

Lenguaje dominante
Jupyter Notebook
Estrellas
39
Forks
44
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de neurodata/ProgLearn

Todos los issues de neurodata/ProgLearn

Issues similares

Más issues de Machine Learning

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.