Skip to content

Conversation

@KritimPrasadKafle
Copy link

@KritimPrasadKafle KritimPrasadKafle commented May 29, 2025

Summary

This PR adds two missing visualization examples as requested in issue #195:

  1. plot_rank_example.py - Demonstrates parameter ranking analysis
  2. plot_timeline_example.py - Shows optimization timeline visualization

Changes

  • Added comprehensive plot_rank example with realistic ML scenario
  • Added detailed plot_timeline example with timing analysis
  • Both examples include extensive documentation and interpretation guides
  • Examples follow existing code standards and patterns
  • Added educational value with practical use cases

Testing

  • Both examples run successfully without errors
  • Generated HTML plots display correctly
  • Examples complete in reasonable time
  • Documentation is clear and comprehensive

Related Issue

Closes #195

Preview

Parameter Ranking - Optuna Hyperparameter Optimization

Optimization Timeline - Trial Execution Over Time

- Add comprehensive plot_rank example with parameter importance analysis
- Add detailed plot_timeline example with timing analysis and correlation metrics
- Both examples include extensive documentation and interpretation guides
- Examples follow existing code standards and patterns
- Addresses issue optuna#195
- Run isort to organize import statements
- No functional changes, formatting only
@github-actions
Copy link

github-actions bot commented Jun 5, 2025

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Jun 5, 2025
@c-bata
Copy link
Member

c-bata commented Jun 10, 2025

@HideakiImamura Could you review this PR?

@github-actions github-actions bot removed the stale Exempt from stale bot labeling. label Jun 10, 2025
@github-actions
Copy link

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Jun 17, 2025
@nabenabe0928
Copy link
Contributor

@kAIto47802
Could you review this PR?

@github-actions github-actions bot removed the stale Exempt from stale bot labeling. label Jun 25, 2025
@github-actions
Copy link

github-actions bot commented Jul 2, 2025

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Jul 2, 2025
@nabenabe0928
Copy link
Contributor

@gen740
Could you review this PR instead of @kAIto47802 ?

@nabenabe0928 nabenabe0928 assigned gen740 and unassigned kAIto47802 Jul 14, 2025
@github-actions github-actions bot removed the stale Exempt from stale bot labeling. label Jul 14, 2025
@github-actions
Copy link

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Jul 21, 2025
@gen740 gen740 removed the stale Exempt from stale bot labeling. label Jul 22, 2025
@gen740
Copy link
Member

gen740 commented Jul 22, 2025

Thank you very much for your PR, and sorry for the late reply.

I suggest that instead of implementing the example in a separate file, you add it to plot_study.py and plot_study.ipynb, as other visualization examples do.
It only requires adding a single plot function and a brief comment to the file.

If you feel that the visualization docs are lacking, it might be helpful to open a separate PR to the Optuna repository to improve them.

@github-actions
Copy link

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Jul 29, 2025
@github-actions
Copy link

This pull request was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.

@github-actions github-actions bot closed this Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Exempt from stale bot labeling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add plot_rank and plot_timeline to visualisation examples

6 participants