preprocessing

package
v0.0.0-...-8b14664 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConfigs

func GenerateConfigs(paramRanges []ParamRange, n int) [][]float64

func GenerateConfigsSorted

func GenerateConfigsSorted(paramRanges []ParamRange, n int) [][]float64

func SelectParameters

func SelectParameters(configs [][]float64, throughputs []float64, alpha float64) (indices []int, weights []float64)

SelectParameters runs L1-regularized coordinate descent (Lasso) to identify parameters most correlated with throughput.

func SelectRepresentative

func SelectRepresentative(configs [][]float64, k int) [][]float64

SelectRepresentative reduces N configs to K via PCA + grid-based selection.

Types

type ParamRange

type ParamRange struct {
	Name string
	Min  float64
	Max  float64
}

Jump to

Keyboard shortcuts

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