Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvaluationService ¶
type EvaluationService struct { WeightList // contains filtered or unexported fields }
func NewEvaluationService ¶
func NewEvaluationService() *EvaluationService
func (*EvaluationService) ComputeFeatures ¶ added in v1.55.0
func (e *EvaluationService) ComputeFeatures(pos *Position) domain.TuneEntry
func (*EvaluationService) EnableTuning ¶ added in v1.55.0
func (e *EvaluationService) EnableTuning()
func (*EvaluationService) Evaluate ¶
func (e *EvaluationService) Evaluate(p *Position) int
func (*EvaluationService) StartingWeights ¶ added in v1.55.0
func (e *EvaluationService) StartingWeights() []float64
type WeightList ¶ added in v1.55.0
type WeightList struct {
// contains filtered or unexported fields
}
func (*WeightList) Features ¶ added in v1.55.0
func (wl *WeightList) Features() []domain.FeatureInfo
func (*WeightList) InitWeights ¶ added in v1.55.0
func (wl *WeightList) InitWeights(w []int)
func (*WeightList) Value ¶ added in v1.55.0
func (wl *WeightList) Value(index, n int) Score
Click to show internal directories.
Click to hide internal directories.