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

DistrictDataLabs / yellowbrick / 972 / 2
90%
develop: 90%

Build:
DEFAULT BRANCH: develop
Ran 20 Mar 2018 02:42AM UTC
Files 54
Run time 2s
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

20 Mar 2018 02:38AM UTC coverage: 82.228%. Remained the same
972.2

push

travis-ci

bbengfort
Make sklearn classification dataset for Class Prediction Error Tests (#355)

In several places throughout the code, you will find that some test data is hardcoded.
This is the X/y data that is used by our models.  I originally used this data to test
my visualizer.  However, I soon found out that the data isn't suitable for all
applications.  In my case, using this data produced completely segmented clusters and this
isn't useful when you are trying to look at prediction error.

My solution is simple. I use the `sklearn.make_classification` function with a random state set
This allows for more complex data sets in which I am able to specify the number of classes
and how many are informative(plus more parameters).  I think the most important thing
is the setting the random state, this allows for completely reproducible images.

1934 of 2352 relevant lines covered (82.23%)

0.82 hits per line

Source Files on job 972.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 972.2
  • b17ea28b on github
  • Prev Job for on develop (#969.1)
  • Next Job for on develop (#974.2)
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