Skip to content

Remove categorical_distance_func from TPESampler - #6783

Merged
y0z merged 2 commits into
optuna:masterfrom
c-bata:remove-tpe-categorical-distance-func
Jul 31, 2026
Merged

y0z merged 2 commits into
optuna:masterfrom
c-bata:remove-tpe-categorical-distance-func

Conversation

@c-bata

@c-bata c-bata commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

Motivation

TPESampler's categorical_distance_func was introduced at Optuna 3.4 as an experimental feature, and deprecated in v4.9.0.

Description of the changes

This PR removes categorical_distance_func from TPESampler. Since this feature is still valuable for certain use cases, we plan to publish an alternative implementation in optunahub-registry.

@c-bata c-bata added the compatibility Change that breaks compatibility. label Jul 31, 2026
@c-bata c-bata added this to the v5.0.0 milestone Jul 31, 2026
@c-bata

c-bata commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

@y0z @not522 Could you review this PR?

@c-bata c-bata assigned not522 and y0z Jul 31, 2026
@c-bata
c-bata marked this pull request as ready for review July 31, 2026 04:19

@not522 not522 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility Change that breaks compatibility.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants