You can choose one or several of the following Tabs.
DataDriftTab to estimate the data drift
NumTargetDriftTab to estimate target drift for the numerical target (for problem statements with the numerical target function: regression, probabilistic classification or ranking, etc.)
CatTargetDriftTab to estimate target drift for the categorical target (for problem statements with the categorical target function: binary classification, multi-class classification, etc.)
RegressionPerformanceTab to explore the performance of a regression model.
ClassificationPerformanceTab to explore the performance of a classification model.
ProbClassificationPerformanceTab to explore the performance of a probabilistic classification model and the quality of the model calibration.
You can generate the report without specifying the ColumnMapping:
You can display the chosen Tabs in a single Dashboard directly in the notebook:
drift_dashboard.show()
If the report is not displayed, this might be due to the dataset size. The dashboard contains the data necessary to generate interactive plots and can become large. The limitation depends on infrastructure. In this case, we suggest applying sampling to your dataset. In Jupyter notebook, that can be done directly with pandas. You can also generate JSON profiles instead.
Export the report as an HTML file
You can save the report as an HTML file, and open it in your browser.
drift_dashboard.save("reports/my_report.html")
If you get a security alert, press "trust HTML".
You will need to specify the path where to save your report and the report name. The report will not open automatically. To explore it, you should open it from the destination folder.
Code examples
To generate the Data Drift report and save it as HTML, run:
If you get a security alert, press "trust html". The HTML report does not open automatically. To explore it, you should open it from the destination folder.
To generate the Regression Model Performance report, run: