Skip to content

Commit

Permalink
Updated Manifold to extend Projection Visualizer (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
naresh-bachwani authored and bbengfort committed Jul 27, 2019
1 parent b10fc17 commit c6ee8ee
Show file tree
Hide file tree
Showing 12 changed files with 483 additions and 343 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions tests/test_exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
##########################################################################
## Imports
##########################################################################
import pytest
from yellowbrick.exceptions import NotFitted

##########################################################################
## NotFitted Exception Tests
##########################################################################
class TestNotFitted(object):
"""
Test Not Fitted Error
"""
def test_correct_message(self):
"Ensure that NotFitted error is raised properly"
msg = "instance is not fitted yet, please call fit"
with pytest.raises(NotFitted, match=msg):
raise NotFitted.from_estimator(self, 'transform')
Loading

0 comments on commit c6ee8ee

Please sign in to comment.