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 ¶
func (p *AveragePerceptron) Predict(what base.FixedDataGrid) base.FixedDataGrid
param base.IFixedDataGrid return base.IFixedDataGrid
Click to show internal directories.
Click to hide internal directories.