Versions in this module Expand all Collapse all v0 v0.1.0 Feb 15, 2025 Changes in this version + var Funcs map[string]MetricFunc + func AvgFunc(aix, bix []int, ntot int, maxd float64, dmat tensor.Tensor) float64 + func Call(funcName string, aix, bix []int, ntot int, maxd float64, dmat tensor.Tensor) float64 + func ContrastFunc(aix, bix []int, ntot int, maxd float64, dmat tensor.Tensor) float64 + func MaxFunc(aix, bix []int, ntot int, maxd float64, dmat tensor.Tensor) float64 + func MinFunc(aix, bix []int, ntot int, maxd float64, dmat tensor.Tensor) float64 + func Plot(pt *table.Table, root *Node, dmat, labels tensor.Tensor) + type MetricFunc func(aix, bix []int, ntot int, maxd float64, dmat tensor.Tensor) float64 + type Metrics int32 + const Avg + const Contrast + const Max + const MetricsN + const Min + func MetricsValues() []Metrics + func (i *Metrics) SetInt64(in int64) + func (i *Metrics) SetString(s string) error + func (i *Metrics) UnmarshalText(text []byte) error + func (i Metrics) Desc() string + func (i Metrics) Int64() int64 + func (i Metrics) MarshalText() ([]byte, error) + func (i Metrics) String() string + func (i Metrics) Values() []enums.Enum + type Node struct + Dist float64 + Index int + Kids []*Node + ParDist float64 + Y float64 + func Cluster(funcName string, dmat, labels tensor.Tensor) *Node + func Glom(root *Node, funcName string, dmat tensor.Tensor) *Node + func InitAllLeaves(ntot int) *Node + func NewNode(na, nb *Node, dst float64) *Node + func (nn *Node) Indexes(ix []int, ctr *int) + func (nn *Node) IsLeaf() bool + func (nn *Node) Plot(pt *table.Table, dmat, labels tensor.Tensor) + func (nn *Node) SetParDist(pard float64) + func (nn *Node) SetYs(nextY *float64) + func (nn *Node) Sprint(labels tensor.Tensor, depth int) string