Skip to content

update histogram into probability density#45

Merged
huangchieh merged 1 commit into
mainfrom
issue40
Jun 20, 2026
Merged

update histogram into probability density#45
huangchieh merged 1 commit into
mainfrom
issue40

Conversation

@huangchieh

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 20, 2026 20:16
@huangchieh huangchieh merged commit d034776 into main Jun 20, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the dataset-wide content-preservation analysis figure to show similarity distributions as probability densities (via KDE) instead of histogram counts, and refreshes the saved figure outputs accordingly.

Changes:

  • Add a KDE-based density plotting helper (plot_kde_density) and switch SSIM/Feature Dice distributions from histograms to density curves.
  • Update figure axis labels/limits to reflect probability density and refined correlation notation.
  • Regenerate content_preservation.svg to match the new plotting style.

Reviewed changes

Copilot reviewed 1 out of 12 changed files in this pull request and generated 1 comment.

File Description
src/preEvaluation/dataWideStyletransAnalysis.py Replaces histogram-based distribution plotting with KDE probability density curves and updates plot labeling.
results/dataWideStyletransAnalysis/L20_L1/content_preservation.svg Regenerated figure output reflecting the new KDE density visualization and updated labels.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

ax_dist.set_ylabel(r"Probability density $\rho(s)$")
ax_dist.set_xlim(0.0, 1.0)
ax_dist.set_ylim(bottom=0.0)
ax_dist.legend(loc="best", frameon=False, ncol=2)
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

Successfully merging this pull request may close these issues.

2 participants