Skip to content

Conversation

abrown
Copy link
Contributor

@abrown abrown commented Mar 26, 2021

This change introduces a test utility, util::Prediction, that simplifies the classification tests. Using the float-cmp crate, it checks that the expected results have the correct ID and that the classification probability matches within a certain DEFAULT_MARGIN of error.

This change introduces a test utility, `util::Prediction`, that simplifies the classification tests. Using the `float-cmp` crate, it checks that the expected results have the correct ID and that the classification probability matches within a certain `DEFAULT_MARGIN` of error.
@abrown abrown merged commit dbc58fa into intel:main Mar 26, 2021
@abrown abrown deleted the test-deviation branch March 26, 2021 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant