<table class="fo-notebook-links" align="left">
    <td>
        <a target="_blank" href="https://colab.research.google.com/github/voxel51/fiftyone/blob/main/docs/source/getting_started/model_evaluation/02_advanced_analysis.ipynb">
            <img src="https://cdn.voxel51.com/colab-logo-256px.png"> &nbsp; Run in Google Colab
        </a>
    </td>
    <td>
        <a target="_blank" href="https://github.com/voxel51/fiftyone/blob/main/docs/source/getting_started/model_evaluation/02_advanced_analysis.ipynb">
            <img src="https://cdn.voxel51.com/github-logo-256px.png"> &nbsp; View source on GitHub
        </a>
    </td>
    <td>
        <a target="_blank" href="https://raw.githubusercontent.com/voxel51/fiftyone/main/docs/source/getting_started/model_evaluation/02_advanced_analysis.ipynb" download>
            <img src="https://cdn.voxel51.com/cloud-icon-256px.png"> &nbsp; Download notebook
        </a>
    </td>
</table>

# Step 2: Analyzing with Model Evaluation Panel

In our last step we showed some basic ways on how to evaluate models. In this step, we will show how to take it even further with the [Model Eval](https://docs.voxel51.com/plugins/api/plugins.panels.model_evaluation.html) Panel in the app. With the Model Eval Panel you can:

- See all evaluation runs on a dataset
- View summary statistics of each run
- Filter dataset based on FP, TP, and more
- Analyze class-wise evaluation metrics and filter based on them
- View confusion matrices and histograms of evaluation results

Let’s hop into an example to see how to get started!

Let’s quickly rerun evaluation in case we do not have it from the previous step:

Now we can open up our dataset and view are results in the Model Eval Panel! I recommend opening the app in browser for the best experience at `http://localhost:5151/`!

![model_evaluation](https://cdn.voxel51.com/getting_started_model_evaluation/notebook2/model_evaluation.webp)

## Explore the Model Evaluation Panel

Now that you have the Model Evaluation Panel open, you can explore all the powerful features it offers:

- **Browse evaluation runs**: Switch between different evaluation runs (like `eval` and `eval_high_conf`) to compare model performance
- **Analyze metrics**: View precision, recall, F1-score, and mAP metrics for your models
- **Class-wise analysis**: Examine performance metrics for individual classes to identify which objects your model struggles with
- **Confusion matrices**: Visualize classification errors and understand common misclassifications
- **Interactive filtering**: Filter your dataset to show only true positives, false positives, false negatives, or specific confidence ranges
- **Histogram analysis**: Explore distributions of confidence scores, IoU values, and other evaluation metrics
- **Sample-level insights**: Click on specific samples to understand why certain predictions were classified as TP, FP, or FN

Take some time to explore these features and gain deeper insights into your model’s performance. The Model Evaluation Panel makes it easy to identify patterns, debug model issues, and make data-driven decisions for model improvement!
