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

DistrictDataLabs / yellowbrick / 900
90%

Build:
DEFAULT BRANCH: develop
Ran 18 Mar 2018 12:27PM UTC
Jobs 2
Files 54
Run time 3s
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

pending completion
900

push

travis-ci

web-flow
Fix tSNE bugs injected by numpy 1.13  (#333)

Fixes #323 that was reported on StackOverflow: a change in the way matrix comparisons are handled in Numpy 1.13 caused our visualizer to break. 

To fix this, I changed vector existence comparisons to `is None` to explicitly query them, 
though this will not protect against empty vectors. 

I also added several new test cases and image comparisons, but to do that I needed to add a `random_state` to the visualizer to ensure that all stochastic components behaved as expected. Python `set` objects are randomly hashed, so I changed to using `np.unique`. This caused us to have to remove the class filtering feature of tSNE, but it is more robust. 

Another note: the tests also use PY3 vs PY2 tolerances to improve Travis testing.

28 of 28 new or added lines in 1 file covered. (100.0%)

1893 of 2332 relevant lines covered (81.17%)

1.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
yellowbrick/text/tsne.py
Jobs
ID Job ID Ran Files Coverage
1 900.1 18 Mar 2018 12:27PM UTC 0
81.17
Travis Job 900.1
2 900.2 18 Mar 2018 12:27PM UTC 0
81.17
Travis Job 900.2
Source Files on build 900
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #900
  • 9147752c on github
  • Prev Build on develop (#895)
  • Next Build on develop (#904)
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