alteryx / alteryx/evalml

Force Plots Display Bug

Abierto
#2,384 1 comentario 0 reacciones 1 asignado Reclamado por @asniyaz Ver en GitHub
bug spike
Lenguaje dominante
Python
Estrellas
850
Forks
96
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Per @freddyaboulton's second review on #2157 , we'd like to look into the bug that he found and determine what the root cause is and whether it's tied to the display() function or not.

Repro:

```
from evalml.demos import load_fraud
from evalml.pipelines import BinaryClassificationPipeline
from evalml.model_understanding import explain_predictions
from evalml.model_understanding.force_plots import graph_force_plot
import pytest

X, y = load_fraud(1000)

pipeline = BinaryClassificationPipeline(["Text Featurization Component", "DateTime Featurization Component",
"One Hot Encoder", "Random Forest Classifier"])
pipeline.fit(X, y)

results = graph_force_plot(pipeline, rows_to_explain=[1],
training_data=X, y=y)

for result in results:
for cls in result:
print("Class:", cls)
display(result[cls]["plot"])

```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.