Documentation ¶
Index ¶
- func ClassifierDataset(coefs map[int]float64, M mat.Matrix) []float64
- func CoefEstimate(X_dense, y_dense mat.Matrix, n_cols int) map[int]float64
- func LinearRegression()
- func LogisticRegression()
- func PolynomialRegression()
- func RBFRegression()
- func RadialBasisVector(center mat.Matrix, vector mat.Matrix, beta float64) float64
- func SimpleLinearRegression()
- type RBFRegressionStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinearRegression ¶
func LinearRegression()
func LogisticRegression ¶
func LogisticRegression()
func PolynomialRegression ¶
func PolynomialRegression()
func RBFRegression ¶
func RBFRegression()
func RadialBasisVector ¶
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 (rbf *RBFRegressionStruct) Fit(X mat.Matrix, y mat.Matrix, Type utils.TypeFactoration)
func (*RBFRegressionStruct) Predict ¶
func (rbf *RBFRegressionStruct) Predict(X mat.Matrix) []float64
func (*RBFRegressionStruct) SetCenters ¶
func (rbf *RBFRegressionStruct) SetCenters(X mat.Matrix)
Click to show internal directories.
Click to hide internal directories.