metrics

package
v0.0.0-...-2310ea4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasMissingElements

func HasMissingElements(record diabetesdata.PimaDiabetesRecord) bool

func ShowDataSetStatistics

func ShowDataSetStatistics(displayName string, metrics DataSetMetrics)

Types

type DataSetMetrics

type DataSetMetrics struct {
	Size                    int
	NumberOfMissingElements int
}

func GetDataSetMetrics

func GetDataSetMetrics(dataset []diabetesdata.PimaDiabetesRecord) DataSetMetrics

type DataSetStatisticsRecord

type DataSetStatisticsRecord struct {
	RecordCount       int     // Record Count
	Lowest            float64 //Lowest Value
	Highest           float64 //Highest Value
	Mean              float64 //Column Mean
	StandardDeviation float64 //SD
	LowerQuartile     float64 //25%
	UpperQuartile     float64 //75%
	MidRange          float64 //50%
}

func SourceDataSetMetricsByFeature

func SourceDataSetMetricsByFeature(dataset []diabetesdata.PimaDiabetesRecord) []DataSetStatisticsRecord

type SessionMetrics

type SessionMetrics struct {
	TruePositiveCount  int // TP
	TrueNegativeCount  int // TN
	FalsePositiveCount int // FP
	FalseNegativeCount int // FN
}

Jump to

Keyboard shortcuts

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