Hyperactive icon indicating copy to clipboard operation
Hyperactive copied to clipboard

[ENH] make registry and lookup function public

Open fkiraly opened this issue 6 months ago • 2 comments

This PR makes the registry module and the all_objects lookup function public. (previously, it was used only internally to retrieve all classes for testing)

It also adds some explanation on how to filter for optimizers and experiments.

A test for all_objects is included, to check against currently expected types in hyperactive.

The utility itself is more extnsively tested in skbase (from where the internals are interfaced).

fkiraly avatar May 24 '25 15:05 fkiraly

Why is it important to make this public? How would this code be used in a practical example?

SimonBlanke avatar May 26 '25 05:05 SimonBlanke

Why is it important to make this public? How would this code be used in a practical example?

not that important, but:

  • users like this feature, it allows to filter programmatically and in python - "show me all optimizers that search locally" etc
  • another package can ask this package, "what optimizers do you have"

fkiraly avatar May 26 '25 09:05 fkiraly