regressions

package
v0.0.0-...-c48d809 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassifierDataset

func ClassifierDataset(coefs map[int]float64, M mat.Matrix) []float64

func CoefEstimate

func CoefEstimate(X_dense, y_dense mat.Matrix, n_cols int) map[int]float64

func LinearRegression

func LinearRegression()

func LogisticRegression

func LogisticRegression()

func PolynomialRegression

func PolynomialRegression()

func RBFRegression

func RBFRegression()

func RadialBasisVector

func RadialBasisVector(center mat.Matrix, vector mat.Matrix, beta float64) float64

func SimpleLinearRegression

func SimpleLinearRegression()

Types

type RBFRegressionStruct

type RBFRegressionStruct struct {
	NumCenters int
	Centers    mat.Matrix
	Beta       float64
	Weight     mat.Matrix
}

func (*RBFRegressionStruct) CalculateGradient

func (rbf *RBFRegressionStruct) CalculateGradient(X mat.Matrix) mat.Matrix

func (*RBFRegressionStruct) Fit

func (*RBFRegressionStruct) Predict

func (rbf *RBFRegressionStruct) Predict(X mat.Matrix) []float64

func (*RBFRegressionStruct) SetCenters

func (rbf *RBFRegressionStruct) SetCenters(X mat.Matrix)

Jump to

Keyboard shortcuts

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