Conversation
…(n) compute time in config generation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Log:
API
Radical redesign of the package's entry point:
ConformalSearcherclass becomesConformalTuner.ConformalSearcherwas instantiated with amodelobject and corresponding X and y data. This limited flexibility, since the model object had to either be a scikit-learnBaseEstimatoror aTunableModel(abstract class withfitandpredictmethods) and the way in which the model object interacted with the data was pre-defined and internal to the package.ConformalTuneris instantiated with anobjective_functioncallable, removing any ownership of the model definition or data structure from the package. The end user defines how the model or other entity of interest returns the objective metric to optimize directly in the objective function.ConformalSearcher'ssearch_spaceinput mapped hyperparameter key names to list of values to search, then created exhaustive combinations during search.search_spacemaps names toIntRange,FloatRangeorCategoricalRangevalue ranges, allowing for better type safety and user experience.ConformalSearcher's.search()method renamed to.tune().conformal_search_estimator, in favour of more direct access to conformal acquisition objects viasearcher: Optional[QuantileConformalSearcher], with default handling to versatile searcher.Methodology
LowerBoundSamplerclass.ThompsonSamplerclass.ThompsonSamplerclass withenable_optimistic_sampling = TrueExpectedImprovementSamplerclass.QuantileEnsembleEstimatorclass.DtACIclass, for superior local coverage performance.DtACI, rather than a standalone class.dynamic_samplinginput inConformalTuner, added option to either search a fixed number of hyperparameter configurations upfront, or random sample from some population at each search iteration, rather than previous default behaviour of fixed upfront number.LocallyWeightedConformalRegressionand dependant logic, with no replacement. Locally Weighted Conformal Regression support is terminated, with Conformalized Quantile Regression remaining as the default framework (this is primarily for maintainability, but CQR generally outperforms LWCR).Other
docs/directory.