# Creating Custom Metrics

Let's see how we can create a custom metric for each machine learning problem type. To make things more structured, we have created a separate page for each problem type. The key to creating a custom metric is to write the code for its required functions.

## [Creating a Binary Classification Custom Metric](https://docs.nannyml.com/cloud/model-monitoring/custom-metrics/creating-custom-metrics/writing-functions-for-binary-classification) <a href="#add-binary-classification-custom-metric" id="add-binary-classification-custom-metric"></a>

## [Creating a Multiclass Classification Custom Metric](https://docs.nannyml.com/cloud/model-monitoring/custom-metrics/creating-custom-metrics/writing-functions-for-multiclass-classification)

## [Creating a Regression Custom Metric](https://docs.nannyml.com/cloud/model-monitoring/custom-metrics/creating-custom-metrics/writing-functions-for-regression)

We also discuss more advanced topics such as [handling missing values](https://docs.nannyml.com/cloud/model-monitoring/custom-metrics/creating-custom-metrics/handling-missing-values) and [creating a custom MTBF metric](https://docs.nannyml.com/cloud/model-monitoring/custom-metrics/creating-custom-metrics/advanced-tutorial-creating-a-mtbf-custom-metric).
