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

Add default_optlib to exported API #22

Merged
merged 1 commit into from
Jan 4, 2020
Merged

Add default_optlib to exported API #22

merged 1 commit into from
Jan 4, 2020

Conversation

juliohm
Copy link
Member

@juliohm juliohm commented Jan 3, 2020

This PR renames the internal _default_optlib function to default_optlib and exports it as part of the user API. This has shown to be important in use cases where users may be interested in choosing a default for the estimator they've selected.

I've also added a new method for the function to work directly on estimator instances. We can call default_optlib(dre) and default_optlib(typeof(dre)).

Appreciate if you can review/merge.

@juliohm juliohm added the enhancement New feature or request label Jan 3, 2020
@juliohm juliohm requested a review from xukai92 January 3, 2020 18:16
@juliohm juliohm merged commit 5f73746 into master Jan 4, 2020
@juliohm juliohm deleted the default-optlib branch April 10, 2020 13:21
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

Successfully merging this pull request may close these issues.

2 participants