saealib.PostSurrogateFitEvent¶
- class saealib.PostSurrogateFitEvent(ctx, provider, surrogate=None, train_x=None, train_f=None)[source]¶
Bases:
EventFired after the surrogate model is fitted.
- Parameters:
ctx (OptimizationContext)
provider (ComponentProvider)
surrogate (Surrogate | None)
train_x (np.ndarray | None)
train_f (np.ndarray | None)
- train_x¶
Design variable matrix used for fitting, shape (n_train, dim).
- Type:
np.ndarray or None
- train_f¶
Objective value matrix used for fitting, shape (n_train, n_obj).
- Type:
np.ndarray or None
Methods
Method Details