Skip to content

Conversation

Neonkraft
Copy link
Contributor

Adds the OneShotOptimizerSampler class, which can be used to sample a new optimizer, i.e., Profile.

This class is incomplete.

  • Pruning has to be dealt with
  • Tests have to be written

There snippet at the bottom which attempts to sample 100 profiles exists only as a sanity test for this class. The class requires more testing.

Since we don't yet know the scope of the experiments we'll run, we'll deal with these items if and when we decide to have BBO search for the optimizer as one of our experiments.

@Neonkraft Neonkraft requested a review from abhash-er August 19, 2024 17:20
self,
epochs: int,
is_partial_connection: bool = False,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that this is cleaner but it may be difficult to read. I think, we need doctrings over here for better readability of what options are available from this class.

Copy link
Contributor Author

@Neonkraft Neonkraft Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. We have to also standardize the parameter naming.

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