Documentation ¶
Index ¶
- type BinaryAccuracy
- type BinaryFprAtTpr
- type BinaryTprAtFpr
- type HasExtraMetrics
- type Metric
- type SparseCategoricalAccuracy
- type SparseCategoricalFprAtTpr
- func (m *SparseCategoricalFprAtTpr) Compute(yTrue interface{}, yPred interface{}) Value
- func (m *SparseCategoricalFprAtTpr) ComputeFinal() Value
- func (m *SparseCategoricalFprAtTpr) GetExtraMetrics() []Value
- func (m *SparseCategoricalFprAtTpr) GetName() string
- func (m *SparseCategoricalFprAtTpr) Init()
- func (m *SparseCategoricalFprAtTpr) Reset()
- type SparseCategoricalTprAtFpr
- func (m *SparseCategoricalTprAtFpr) Compute(yTrue interface{}, yPred interface{}) Value
- func (m *SparseCategoricalTprAtFpr) ComputeFinal() Value
- func (m *SparseCategoricalTprAtFpr) GetExtraMetrics() []Value
- func (m *SparseCategoricalTprAtFpr) GetName() string
- func (m *SparseCategoricalTprAtFpr) Init()
- func (m *SparseCategoricalTprAtFpr) Reset()
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryAccuracy ¶ added in v0.26.28
type BinaryAccuracy struct { Name string Confidence float64 Average bool Precision int // contains filtered or unexported fields }
func (*BinaryAccuracy) Compute ¶ added in v0.26.28
func (m *BinaryAccuracy) Compute(yTrue interface{}, yPred interface{}) Value
func (*BinaryAccuracy) ComputeFinal ¶ added in v0.26.28
func (m *BinaryAccuracy) ComputeFinal() Value
func (*BinaryAccuracy) GetName ¶ added in v0.26.28
func (m *BinaryAccuracy) GetName() string
func (*BinaryAccuracy) Init ¶ added in v0.26.28
func (m *BinaryAccuracy) Init()
func (*BinaryAccuracy) Reset ¶ added in v0.26.28
func (m *BinaryAccuracy) Reset()
type BinaryFprAtTpr ¶ added in v0.26.28
type BinaryFprAtTpr struct { Name string Tpr float64 Attempts int ComputeEveryNBatches int Precision int ExtraMetrics bool FinalConfidence float64 FinalTpr float64 // contains filtered or unexported fields }
func (*BinaryFprAtTpr) Compute ¶ added in v0.26.28
func (m *BinaryFprAtTpr) Compute(yTrue interface{}, yPred interface{}) Value
func (*BinaryFprAtTpr) ComputeFinal ¶ added in v0.26.28
func (m *BinaryFprAtTpr) ComputeFinal() Value
func (*BinaryFprAtTpr) GetExtraMetrics ¶ added in v0.26.28
func (m *BinaryFprAtTpr) GetExtraMetrics() []Value
func (*BinaryFprAtTpr) GetName ¶ added in v0.26.28
func (m *BinaryFprAtTpr) GetName() string
func (*BinaryFprAtTpr) Init ¶ added in v0.26.28
func (m *BinaryFprAtTpr) Init()
func (*BinaryFprAtTpr) Reset ¶ added in v0.26.28
func (m *BinaryFprAtTpr) Reset()
type BinaryTprAtFpr ¶ added in v0.26.28
type BinaryTprAtFpr struct { Name string Fpr float64 Attempts int ComputeEveryNBatches int Precision int FinalConfidence float64 FinalFpr float64 ExtraMetrics bool // contains filtered or unexported fields }
func (*BinaryTprAtFpr) Compute ¶ added in v0.26.28
func (m *BinaryTprAtFpr) Compute(yTrue interface{}, yPred interface{}) Value
func (*BinaryTprAtFpr) ComputeFinal ¶ added in v0.26.28
func (m *BinaryTprAtFpr) ComputeFinal() Value
func (*BinaryTprAtFpr) GetExtraMetrics ¶ added in v0.26.28
func (m *BinaryTprAtFpr) GetExtraMetrics() []Value
func (*BinaryTprAtFpr) GetName ¶ added in v0.26.28
func (m *BinaryTprAtFpr) GetName() string
func (*BinaryTprAtFpr) Init ¶ added in v0.26.28
func (m *BinaryTprAtFpr) Init()
func (*BinaryTprAtFpr) Reset ¶ added in v0.26.28
func (m *BinaryTprAtFpr) Reset()
type HasExtraMetrics ¶
type HasExtraMetrics interface {
GetExtraMetrics() []Value
}
type SparseCategoricalAccuracy ¶
type SparseCategoricalAccuracy struct { Name string Confidence float64 ArgMax bool Average bool AverageAcrossCategories bool Precision int // contains filtered or unexported fields }
func (*SparseCategoricalAccuracy) Compute ¶
func (m *SparseCategoricalAccuracy) Compute(yTrue interface{}, yPred interface{}) Value
func (*SparseCategoricalAccuracy) ComputeFinal ¶
func (m *SparseCategoricalAccuracy) ComputeFinal() Value
func (*SparseCategoricalAccuracy) GetName ¶
func (m *SparseCategoricalAccuracy) GetName() string
func (*SparseCategoricalAccuracy) Init ¶
func (m *SparseCategoricalAccuracy) Init()
func (*SparseCategoricalAccuracy) Reset ¶
func (m *SparseCategoricalAccuracy) Reset()
type SparseCategoricalFprAtTpr ¶
type SparseCategoricalFprAtTpr struct { Name string Tpr float64 Attempts int ComputeEveryNBatches int Precision int ExtraMetrics bool FinalConfidence float64 FinalTpr float64 // contains filtered or unexported fields }
TODO this only works with two categories 0, 1
func (*SparseCategoricalFprAtTpr) Compute ¶
func (m *SparseCategoricalFprAtTpr) Compute(yTrue interface{}, yPred interface{}) Value
func (*SparseCategoricalFprAtTpr) ComputeFinal ¶
func (m *SparseCategoricalFprAtTpr) ComputeFinal() Value
func (*SparseCategoricalFprAtTpr) GetExtraMetrics ¶
func (m *SparseCategoricalFprAtTpr) GetExtraMetrics() []Value
func (*SparseCategoricalFprAtTpr) GetName ¶
func (m *SparseCategoricalFprAtTpr) GetName() string
func (*SparseCategoricalFprAtTpr) Init ¶
func (m *SparseCategoricalFprAtTpr) Init()
func (*SparseCategoricalFprAtTpr) Reset ¶
func (m *SparseCategoricalFprAtTpr) Reset()
type SparseCategoricalTprAtFpr ¶
type SparseCategoricalTprAtFpr struct { Name string Fpr float64 Attempts int ComputeEveryNBatches int Precision int FinalConfidence float64 FinalFpr float64 ExtraMetrics bool // contains filtered or unexported fields }
TODO this only works for two categories 0, 1
func (*SparseCategoricalTprAtFpr) Compute ¶
func (m *SparseCategoricalTprAtFpr) Compute(yTrue interface{}, yPred interface{}) Value
func (*SparseCategoricalTprAtFpr) ComputeFinal ¶
func (m *SparseCategoricalTprAtFpr) ComputeFinal() Value
func (*SparseCategoricalTprAtFpr) GetExtraMetrics ¶
func (m *SparseCategoricalTprAtFpr) GetExtraMetrics() []Value
func (*SparseCategoricalTprAtFpr) GetName ¶
func (m *SparseCategoricalTprAtFpr) GetName() string
func (*SparseCategoricalTprAtFpr) Init ¶
func (m *SparseCategoricalTprAtFpr) Init()
func (*SparseCategoricalTprAtFpr) Reset ¶
func (m *SparseCategoricalTprAtFpr) Reset()
Click to show internal directories.
Click to hide internal directories.