Before configuring an evaluation suite, the associated Logic function must be published. Note that Evaluations does not yet support Logic functions where the final output is Ontology edits.
Examples of built-in Evaluation functions include:
Date
and Timestamp
values are supported.Selecting a Marketplace deployed Function will open a set-up wizard to guide you through the installation process. Below is an example of a Marketplace Function, with more to come:
Custom Evaluation functions allow you to select previously published Functions. These can be Functions on Objects written in Code Repository or other AIP Logic functions. Currently, custom Evaluation functions must return either boolean or numeric types.
Configure the Evaluation function by selecting parameters for the actual Logic function output value and the expected output value. Depending on the Evaluation function, you may need to configure other parameters.
The Produced metrics field allows you to name the metric displayed in the evaluations metrics dashboard. For example, instead of the default "isExactMatch", you may choose to rename the metric to something more semantically meaningful to your use case, like "classificationIsCorrect."
Write test cases by selecting Add test case. Give each test case a name and select the input(s) and their respective expected values. The actual output value is automatically included as part of the test case and does not need to be configured.
After saving, you can run test cases in the evaluation suite and begin to collect metrics to view in the evaluations metrics dashboard. Additionally, you can run test cases directly in the main Logic page by select the 🔨 icon and selecting Run all tests.