linkedin / linkedin/FastTreeSHAP
cannot slice shap values like SHAP package
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 566
- Forks
- 38
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi, I am using fasttreeshap v0.1.6 package to calculate the shap values of my random forest model. It really accelerate the shap value calculation substantially. However, when I tried to produce the scatter or dependence plots, I cannot extract a single column of the shap values (e.g., shap_values[:, 0] or shap_values[:, feature1]). I got an IndexError: index 1 is out of bounds for axis 1 with size 1.
Guía de contribución
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.
Línea de trabajo
No source file or test is named. Start by reproducing the reported shap_values[:, 0] and shap_values[:, feature1] failures with fasttreeshap v0.1.6 and a random forest, then compare the output shape and slicing behavior with the SHAP package; done means the reported scatter or dependence plot inputs can be sliced without IndexError.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100