Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we still customize histogram plots in the latest version? #1018

Open
naveen-pit opened this issue Mar 7, 2024 · 2 comments
Open

Can we still customize histogram plots in the latest version? #1018

naveen-pit opened this issue Mar 7, 2024 · 2 comments

Comments

@naveen-pit
Copy link

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 naveen-pit changed the title Can we still customize the histogram plots in the latest version? Can we still customize histogram plots in the latest version? Mar 7, 2024
@elenasamuylova
Copy link
Collaborator

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.

@naveen-pit
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants