Back to Templates

Model scoring

View App View Code on GitHub
shiny create -m core \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/model-scoring

Use a combination of scikit-learn and plotnine to visualize model diagnostics like ROC and precision-recall curves. Shiny’s reactive programming model makes it easy and performant to update those outputs in response to user input like specific accounts or time periods.

Packages:

  • numpy
  • pandas
  • plotnine
  • scikit-learn