Advanced
Custom Scores
Define custom scores for your AI experiments
Hamming AI comes with pre-built scorers that cover a wide range of use cases. If you need to score your experiments in a different way, you can do so by creating a custom scorer.
Definitions
A custom scorer is a function that computes a score of a given experiment result.
Looking at the function output, we can define a custom scorer as:
- Classification Scorer: A function that returns a categorical value. (e.g.
low
,medium
,high
) - Numerical Scorer: A function that returns a real number.
Based on the execution environment, we can define a custom scorer as:
- Local Scorer: A function that runs on the machine that executes the experiment.
- Remote Scorer: A function that runs on Hamming AI platform. [Coming soon]
Before you begin
Follow the Evaluations Guide to get familiar with running experiments on Hamming AI. You should have a dataset ID and a secret key to continue with this guide.