Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dashboard plots + Display rough model accuracy #11

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open

Conversation

anhqngo
Copy link
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
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.

None yet

2 participants