---
title: Generate model compliance documentation
description: Generate automated compliance documentation for models from the Model Registry.

---

# Generate model compliance documentation {: #generate-model-registry-compliance-documentation }

After you [create a model package](reg-create) in the Model Registry (the inventory), you can generate automated compliance documentation for the model. The compliance documentation provides evidence that the components of the model work as intended, the model is appropriate for its intended business purpose, and the model is conceptually sound. This individualized model documentation is especially important for highly regulated industries. For the banking industry, for example, the report can help complete the Federal Reserve System's [SR 11-7: Guidance on Model Risk Management](https://www.federalreserve.gov/supervisionreg/srletters/sr1107.htm){ target=_blank }.

!!! tip
    You can also generate compliance documentation by selecting a model on the Leaderboard and clicking the [Compliance tab](compliance).

After you generate the compliance documentation, you can view it or download it as a Microsoft Word (DOCX) file and edit it further. You can also create [specialized templates](template-builder) for your organization.

!!! note
    When model packages are shared with users, all generated compliance documentation for the model is also shared.

## Generate compliance documentation {: #generate-compliance-documentation }

1. Create a model package if it is not yet in the inventory (Model Registry). To create a model package, you can:

    * [Create a model package from the Leaderboard](reg-create#create-a-model-package-from-the-Leaderboard).
    * [Add a custom inference model](reg-create#add-a-custom-inference-model).
    * [Register an external model](reg-create#register-external-model-packages).
    * [Create a model package automatically during deployment](reg-create#create-model-packages-automatically).

2. Click **Model Registry > Model Packages** and select a model package.

    ![](images/reg-compliance-model-package.png)

3. Click the **Compliance** tab, select a **Report template**, and then click **Create Report**.

    ![](images/reg-compliance-tab.png)

    The default template is the Automated Compliance Document template. You can instead [create a custom report template](template-builder) and select that template.

    !!! warning "Compliance documentation for custom models without null imputation support"
        To generate the Sensitivity Analysis section of the default **Automated Compliance Document** template, your custom model must support null imputation (the imputation of NaN values), or compliance documentation generation will fail. If the custom model doesn't support null imputation, you can use a specialized template to generate compliance documentation. In the **Report template** drop-down list, select **Automated Compliance Document (for models that do not impute null values)**. This template excludes the Sensitivity Analysis report and is only available for custom models. If this template option is not available for your version of DataRobot, you can download the <a href="custom-template-for-models-without-null-imputation-regression.json" download>custom template for regression models</a> or the <a href="custom-template-for-models-without-null-imputation-binary.json" download>custom template for binary classification models</a>.

    Generating Compliance Documentation requires DataRobot to execute many dependent insight tasks. This can take several minutes to complete. The documentation appears below when complete:

    ![](images/reg-compliance-download.png)

4. After the compliance documentation is generated, you can:

    * Preview the report by clicking the eye (![](images/icon-eye.png)) icon.
    * Download a Microsoft Word (DOCX) version of the report by clicking the download (![](images/icon-down.png)) icon.
    * Delete the report by clicking the trash can (![](images/icon-trash.png)) icon.

## Feature considerations

Consider the following when generating compliance documentation:

* Compliance documentation, in most cases, is not available for managed AI Platform users. Interested users should contact their DataRobot representative for additional information.

* Compliance documentation is available for the following project types:
    * Binary
    * Multiclass
    * Regression
    * Anomaly detection for time series projects with DataRobot models, but _not_ for non-time series unsupervised mode.