Versions in this module Expand all Collapse all v0 v0.1.1 May 13, 2023 Changes in this version + func BoolToInt(b bool) int + func F32SliceToF64(s []float32) []float64 + func I32SliceToI(s []int32) []int + func MakeIRange(min, max int) []int + func MaxF32(vals []float32) (int, float32) + func Mean(vals []float32) float32 + func MeanNorm(x, min, max, average float32) float32 + func MinMaxNorm(x, min, max float32) float32 + func RandF32(min, max float32) float32 + func StdDev(x []float32) float32 + func ToF32(i interface{}) (float32, error) + func ToF64(i interface{}) (float64, error) + func Variance(vals []float32) float32 + func ZNorm(x, mean, stdDev float32) float32 + type EqWidthBinner struct + High float32 + Low float32 + NumIntervals int + func NewEqWidthBinner(numIntervals int, high, low float32) *EqWidthBinner + func (e *EqWidthBinner) Bin(v float32) (int, error)