After installation, import evidently and the required profiles sections:
import pandas as pd
from sklearn import datasets
from evidently.model_profile import Profile
from evidently.model_profile.sections import DataDriftProfileSection
Sections in Profiles work just like Tabs in Dashboards. You can choose among:
DataDriftProfileSection to estimate the data drift,
NumTargetDriftProfileSection to estimate target drift for numerical target,
CatTargetDriftProfileSectionto estimate target drift for categorical target,
ClassificationPerformanceProfileSection to explore the performance of a classification model,
ProbClassificationPerformanceProfileSection to explore the performance of a probabilistic classification model,
RegressionPerformanceProfileSection to explore the performance of a regression model.
Create a pandas.DataFrame with the dataset to analyze: