Skip to content

Fix dashboard plots + Display rough model accuracy#11

Open
anhqngo wants to merge 39 commits intomasterfrom
jason
Open

Fix dashboard plots + Display rough model accuracy#11
anhqngo wants to merge 39 commits intomasterfrom
jason

Conversation

@anhqngo
Copy link
Copy Markdown
Collaborator

@anhqngo anhqngo commented Dec 22, 2019

Fix dashboard plots

Right now, the dashboard does not display plots from the generated .csv files. To fix this issue, I rewrote old plotting functions from javascript d3 to python plotly, which easier to understand/maintain.

Right now, the function dashboard_plot.py can plot:

  • Stacked bar charts
  • Bar charts
  • Area charts

In the future when we have more data, I will add more types of plots to the function.

Display model accuracy

To display the model accuracy, I first get a list of built models in the ModelContainers. Then, I average the scores (accuracies, classification balanced rates, and Matthews coefficients) across the models and display them on the dashboard (top left corner, below the number of experiments).

Note: There is the class StatsModel; however, I don't think this model contains the information that we needed. Once Rui is done with his rec-system, we might have to discuss a systematic way to store the model data, and how to get them.

Screenshot

Finally, here is the screenshot for the dashboard right now in my branch. Please comment below in this PR thread over the break; I will be sure to get back to you!

Dashboard Screenshot

csvillalta and others added 30 commits June 18, 2018 13:07
@cpbarretthc cpbarretthc requested a review from vshekar February 3, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants