-
-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Manifold to extend Projection Visualizer (#930)
- Loading branch information
1 parent
b10fc17
commit c6ee8ee
Showing
12 changed files
with
483 additions
and
343 deletions.
There are no files selected for viewing
Binary file modified
BIN
-1.88 KB
(96%)
tests/baseline_images/test_features/test_manifold/test_manifold_classification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72.8 KB
...baseline_images/test_features/test_manifold/test_manifold_classification_3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.52 KB
(100%)
tests/baseline_images/test_features/test_manifold/test_manifold_pandas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.63 KB
(110%)
tests/baseline_images/test_features/test_manifold/test_manifold_regression.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.7 KB
tests/baseline_images/test_features/test_manifold/test_manifold_regression_3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-505 Bytes
(99%)
tests/baseline_images/test_features/test_manifold/test_manifold_single.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+74.8 KB
tests/baseline_images/test_features/test_manifold/test_manifold_single_3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
Oops, something went wrong.