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

[Feature Request] Loss make_value_estimator takes a ValueEstimatorBase class as argument #2503

Open
1 task done
louisfaury opened this issue Oct 18, 2024 · 0 comments
Open
1 task done
Assignees
Labels
enhancement New feature or request

Comments

@louisfaury
Copy link
Contributor

Motivation

The LossBase class make_value_estimator method takes an Enum type ValueEstimators to construct the value estimator. Also, its docstring indicates that:

If the non-default value function is wanted, it must be built using this method.

This means that using a custom value estimator needs to directly access the loss's private _value_estimator.

Solution

One way forward is to make each objective class make_value_estimator method accept a ValueEstimatorBase class as an argument to build the custom value_estimator.

Checklist

  • I have checked that there is no similar issue in the repo (required)
@louisfaury louisfaury added the enhancement New feature or request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants