evidently icon indicating copy to clipboard operation
evidently copied to clipboard

Can we still customize histogram plots in the latest version?

Open naveen-pit opened this issue 11 months ago • 2 comments

According to the v0.1.57 user guide, we can define DataDriftOptions to customize histogram plot and define QualityMetricsOptions to select chunk of data we interest.

However, DataDriftOptions and QualityMetricsOptions are no longer compatible in the latest release since we have to pass options as a subclass of Options. DataDriftOptions is inherited from pydantic.BaseModel, while QualityMetricsOptions is inherited from object.

By looking at latest user guide, we can only see customization on color schema and raw data. DataDriftOptions and QualityMetricsOptions are still there in the API Reference, so I'm pretty not sure whether we still can customize our report via DataDriftOptions and QualityMetricsOptions or there is a workaround for this.

naveen-pit avatar Mar 07 '24 09:03 naveen-pit

Hi @naveen-pit,

There are currently no parameters to specify e.g. number of bins in the histograms.

SInce the API update, we divided the customizations into two groups:

  • Report-level Options (like changing the color schema or opting to see raw data).
  • Metric-level parameters (that you can specify for a specific Metric inside the Report and for some Presets). For example, the definition of classification threshold for Classification quality metrics now works through probas_threshold parameter. You can see the complete list of Metric-level parameters here https://docs.evidentlyai.com/reference/all-metrics

However, there are currently now parameters to visually customize the bins.

We'd like to add them, but it is not on the immediate roadmap.

elenasamuylova avatar Mar 07 '24 11:03 elenasamuylova

Thank you for your reply. will keep checking the updates.

naveen-pit avatar Mar 08 '24 02:03 naveen-pit