data

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	Index   int
	Samples []Sample
	Stats   []float64 // Precomputed aggregate stats for this batch (mean, var, etc.)
}

Batch represents a group of samples collected at the same time index.

type Dataset

type Dataset struct {
	Batches []Batch
}

Dataset represents a collection of time-ordered batches of samples.

func (*Dataset) NormalizeFeatures

func (d *Dataset) NormalizeFeatures()

NormalizeFeatures applies z-score normalization to the features of the dataset.

type Sample

type Sample struct {
	ID       string
	Features []float64
	Target   float64
}

Sample represents a single data point with an identifier, feature vector, and target value.

Jump to

Keyboard shortcuts

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