Skip to content

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented May 24, 2025

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).

@SimonBlanke
Copy link
Owner

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

@fkiraly
Copy link
Collaborator Author

fkiraly commented May 26, 2025

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"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants