# Evaluation

*Avalanche* offers significant support for *defining your own eveluation protocol* (classic or custom metrics, when and on what to test). You can find **examples** related to the benchmarks here:&#x20;

* [Eval Plugin](https://github.com/ContinualAI/avalanche/blob/master/examples/eval_plugin.py): *this is a simple example on how to use the Evaluation Plugin (the evaluation controller object)*
* [Standalone Metrics](https://github.com/ContinualAI/avalanche/blob/master/examples/standalone_metric.py): *how to use metrics as standalone objects.*&#x20;
* [Confusion Matrix](https://github.com/ContinualAI/avalanche/blob/master/examples/confusion_matrix.py): *this example shows how to produce confusion matrix during training and evaluation.*
* [Dataset Inspection](https://github.com/ContinualAI/avalanche/blob/master/examples/dataset_inspection.py)*: this is a simple example on how to use the Dataset inspection plugins.*
* [Mean Score](https://github.com/ContinualAI/avalanche/blob/master/examples/mean_scores.py): *example usage of the mean\_score helper to show the scores of the true class, averaged by new and old classes.*
* [*Task Metrics*](https://github.com/ContinualAI/avalanche/blob/master/examples/task_metrics.py)*: this is a simple example on how to use the Evaluation Plugin with metrics returning values for different tasks.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avalanche.continualai.org/examples/evaluation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
