perceptron

package
Version: v0.0.0-...-db086a8 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL