Help us shape the future of Go! Take the 2026 Go Developer Survey

perceptron

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxEpochs = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type AveragePerceptron

type AveragePerceptron struct {
	TrainingData base.FixedDataGrid
	// contains filtered or unexported fields
}

func NewAveragePerceptron

func NewAveragePerceptron(features int, learningRate float64, startingThreshold float64, trainError float64) *AveragePerceptron

func (*AveragePerceptron) Fit

func (p *AveragePerceptron) Fit(trainingData base.FixedDataGrid)

func (*AveragePerceptron) Predict

param base.IFixedDataGrid return base.IFixedDataGrid

Jump to

Keyboard shortcuts

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