Skip to content

Refactor KernelParamsTensor towards cleaner GP-related modules - #6152

Merged
nabenabe0928 merged 2 commits into
optuna:masterfrom
nabenabe0928:code-fix/minimal-refactor-kernel-params
Jun 13, 2025
Merged

nabenabe0928 merged 2 commits into
optuna:masterfrom
nabenabe0928:code-fix/minimal-refactor-kernel-params

Conversation

@nabenabe0928

Copy link
Copy Markdown
Contributor

Motivation

To make GP-related modules more flexible, I refactored the code.

Important

This is just a code-fix, so it does not affect the behavior at all.

Description of the changes

  • Make functions, that require KernelParamsTensor, KernelParamsTensor methods

@nabenabe0928
nabenabe0928 marked this pull request as ready for review June 13, 2025 06:55
@nabenabe0928 nabenabe0928 added the code-fix Change that does not change the behavior, such as code refactoring. label Jun 13, 2025
@nabenabe0928

Copy link
Copy Markdown
Contributor Author

I confirmed that this change does not make any difference in the output given a fixed random seed.

@y0z y0z 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

@nabenabe0928 nabenabe0928 modified the milestone: v4.5.0 Jun 13, 2025

@kAIto47802 kAIto47802 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for your PR! LGTM!

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

Labels

code-fix Change that does not change the behavior, such as code refactoring.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants