-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
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
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,17 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`naive_bayes:MultinomialNB should not fit invalid inputs 1`] = `[Error: values passed to tensor(values) must be an array of numbers or booleans, or a TypedArray]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not fit invalid inputs 2`] = `[TypeError: Number of labels=1 does not math number of samples=2]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not fit invalid inputs 3`] = `[Error: Input cannot be an empty array]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not predict if the model is not trained yet 1`] = `[TypeError: Cannot read property 'classCategories' of undefined]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not predict invalid inputs 1`] = `[Error: values passed to tensor(values) must be an array of numbers or booleans, or a TypedArray]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not predict invalid inputs 2`] = `[Error: values passed to tensor(values) must be an array of numbers or booleans, or a TypedArray]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not predict invalid inputs 3`] = `[TypeError: The matrix is not 2D shaped: 1 of []]`; | ||
|
||
exports[`naive_bayes:MultinomialNB should not predict invalid inputs 4`] = `[TypeError: The matrix is not 2D shaped: [1,2] of [2]]`; |
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