Documentation
¶
Index ¶
- func GenerateConfigs(paramRanges []ParamRange, n int) [][]float64
- func GenerateConfigsSorted(paramRanges []ParamRange, n int) [][]float64
- func SelectParameters(configs [][]float64, throughputs []float64, alpha float64) (indices []int, weights []float64)
- func SelectRepresentative(configs [][]float64, k int) [][]float64
- type ParamRange
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 ¶
SelectRepresentative reduces N configs to K via PCA + grid-based selection.
Types ¶
type ParamRange ¶
Click to show internal directories.
Click to hide internal directories.