Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine computes heuristic recommendations from multi-model evaluation outcomes.
func NewEngine ¶
func NewEngine() *Engine
NewEngine creates a recommendation engine with default weights.
func (*Engine) Recommend ¶
func (e *Engine) Recommend(results []ModelInput) *models.Recommendation
Recommend computes a heuristic recommendation from a slice of model results. Returns nil if fewer than 2 models have non-nil outcomes.
type ModelInput ¶
type ModelInput struct {
ModelID string
Outcome *models.EvaluationOutcome
}
ModelInput pairs a model identifier with its evaluation outcome. The outcome may be nil if the model run failed entirely.
Click to show internal directories.
Click to hide internal directories.