- You know how to generate Reports.
Imports
Generate data
Generate data
Use the following code to generate toy data for this guide.
Metric generators
Example 1. Apply the selected metric (ValueDrift
) to all columns in the dataset.
ValueDrift
) to the listed columns in the dataset. Use metric_kwargs
to pass any applicable metric parameters.
ValueDrift
) only to the categorical (cat
) columns in the dataset.
num
- numericalcat
- categoricalall
- all
Test generators
You can use the same approach to generate Tests. Usemetric_kwargs
to pass test conditions.
Example. Generate the same Test for all the columns in the dataset. It will use defaults if you do not specify the test condition.