Skip to content

Refactoring: move SurrogateBuilder and mixed integer moe from ego to moe#382

Merged
relf merged 5 commits intomasterfrom
move-gpmix-in-moe
Feb 6, 2026
Merged

Refactoring: move SurrogateBuilder and mixed integer moe from ego to moe#382
relf merged 5 commits intomasterfrom
move-gpmix-in-moe

Conversation

@relf
Copy link
Owner

@relf relf commented Feb 6, 2026

The idea is that ego uses moe as surrogate provider.
Following this logic SurrogateBuilder and mixed integer mixture of experts are better placed in moe

relf added 3 commits February 5, 2026 23:08
…onfiguration

- Introduced the `SurrogateBuilder` trait in `surrogate_builder.rs` to define methods for configuring and training surrogate models used by the Egor optimizer.
- Implemented the `SurrogateBuilder` trait for `GpMixtureParams<f64>`, providing functionality for setting regression specifications, correlation models, clustering, and training methods.
- Added the `XType` enum in `xtypes.rs` to represent different variable types (Float, Int, Ord, Enum) and a helper function `discrete` to check for discrete types in a given list of `XType`.
- Included unit tests for the `discrete` function to ensure correct identification of discrete variable types.
@relf relf changed the title Refactoring: move SurrogateBuilder and mixed integer from ego to moe Refactoring: move SurrogateBuilder and mixed integer moe from ego to moe Feb 6, 2026
@relf relf marked this pull request as ready for review February 6, 2026 13:45
@relf relf merged commit 331dd9d into master Feb 6, 2026
19 checks passed
@relf relf deleted the move-gpmix-in-moe branch February 6, 2026 20:43
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.

1 participant