Documentation ¶
Index ¶
- func DefaultReplicateSets() []int
- func FuncPair[T any](f func(T) float64, pairs iter.Iter[IOPair[T]]) *iter.Iterator[Pair]
- func LimitedReplicateSets(max int) []int
- func NewArgs(nargs int) []float64
- func NewLimits(nlims int) [][]float64
- func Rep[T any](x T, n int) []T
- func Zip(s1 []float64, s2 []float64) (*iter.Iterator[Pair], error)
- type Func
- type GuessSet
- type IOPair
- type MSESummer
- type Optimizer
- func (o *Optimizer) GuessN(n int, mu *sync.Mutex) error
- func (o *Optimizer) GuessRound(mu *sync.Mutex) (continueLoop bool, err error)
- func (o *Optimizer) Handle(e error) ([]float64, int, error)
- func (o *Optimizer) LogArgsVerbose()
- func (o *Optimizer) LogVerbose()
- func (o *Optimizer) Optimize(mu *sync.Mutex) ([]float64, int, error)
- func (o *Optimizer) UpdateBest() (continueLoop bool)
- type OptimizerArgs
- type Pair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultReplicateSets ¶ added in v0.1.6
func DefaultReplicateSets() []int
func LimitedReplicateSets ¶ added in v0.1.7
Types ¶
type MSESummer ¶
func NewMseSummer ¶
func NewMseSummer() *MSESummer
func (*MSESummer) MeanSquaredError ¶
type Optimizer ¶
type Optimizer struct { OptimizerArgs // contains filtered or unexported fields }
func NewOptimizer ¶
func NewOptimizer(a OptimizerArgs) *Optimizer
func (*Optimizer) GuessRound ¶
func (*Optimizer) LogArgsVerbose ¶ added in v0.1.8
func (o *Optimizer) LogArgsVerbose()
func (*Optimizer) LogVerbose ¶ added in v0.1.8
func (o *Optimizer) LogVerbose()
func (*Optimizer) UpdateBest ¶
Click to show internal directories.
Click to hide internal directories.