eval

package
v0.0.0-...-a9da960 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2016 License: MIT Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AUC

func AUC(predictions0 []*LabelPrediction) float64

func ErrorRate

func ErrorRate(predictions []*LabelPrediction) float64

func RMSE

func RMSE(predictions []*LabelPrediction) float64

func RegRMSE

func RegRMSE(predictions []*RealPrediction) float64

Types

type By

type By func(p1, p2 *LabelPrediction) bool

func (By) Sort

func (by By) Sort(predictions []*LabelPrediction)

type LabelPrediction

type LabelPrediction struct {
	Prediction float64
	Label      int
}

type RealPrediction

type RealPrediction struct {
	Prediction float64
	Value      float64
}

Jump to

Keyboard shortcuts

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