gradientdescentestimator

package
v0.0.0-...-083fbd4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2015 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinearModelLeastSquaresLossGradient

func LinearModelLeastSquaresLossGradient(parameters, observedX []float64, observedY float64) ([]float64, error)

func NewGradientDescentParameterEstimator

func NewGradientDescentParameterEstimator(
	learningRate, precision float64,
	maxIterations int,
	plgf ParameterizedLossGradient,
) (*gradientDescentParameterEstimator, error)

Types

type ParameterizedLossGradient

type ParameterizedLossGradient func([]float64, []float64, float64) ([]float64, error)

Jump to

Keyboard shortcuts

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