• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DistrictDataLabs / yellowbrick / 236 / 1
90%
develop: 90%

Build:
DEFAULT BRANCH: develop
Ran 23 Mar 2017 03:57PM UTC
Files 28
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Mar 2017 03:49PM UTC coverage: 70.989% (+0.1%) from 70.868%
236.1

push

travis-ci

web-flow
Ready: Feature 139 confusion matrix (#144)

* Initial version of ConfusionMatrix visualizer using the matplotlib pcolormesh.

- Allows for percent or raw count representation of the predictions
- Implements heatmap with white=0, green=100%, and yellow-orange-red heatmap for everything else
- Allows zooming in on confusion matrix using passed list of classes, with accurate %-of-all-true calculations
- Tested for moderately large class numbers (30+)
- Diagonal line indicates accurate predictions
- Documentation added to docs/examples/methods.rst for one example matrix

Suggested future improvements:
- Resize font based on image size + class count
- Allow custom color coding, including custom colors for _over and _under values (e.g. zero and 100%)
- Vary text font color based on background color
- While this branch currently adds an example to methods.rst, the examples/confusionMatrix.ipynb has additional examples using different of the passed parameters. This should probably also be exported as rst and added to the docs, but there was not an obvious place to put it so I am excluding that for now.

Note this commit squashes all previous commits on this branch

* Moved example notebook, and expanded numpy_div0 to div_safe

* Fixes one incorrect automatic merge issue and re-runs the two example notebooks to make sure they work.

854 of 1203 relevant lines covered (70.99%)

0.71 hits per line

Source Files on job 236.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 236
  • Travis Job 236.1
  • 1320a9a4 on github
  • Prev Job for on develop (#224.1)
  • Next Job for on develop (#243.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc