loss

package
v0.0.0-...-6a15580 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILoss

type ILoss interface {
	Calculate(deltas []float64) (result float64)
	CallMe() string
}

func Generate

func Generate(attr *profile.Attr) (loss ILoss, err error)

type RMSE

type RMSE struct{}

func (*RMSE) Calculate

func (l *RMSE) Calculate(errs []float64) (result float64)

func (*RMSE) CallMe

func (l *RMSE) CallMe() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL