// NewPerceptron creates and returns a perceptron.
NewPerceptron creates and returns a perceptron.
// NewPerceptron creates and returns a perceptron .
func NewPerceptron(eta float64, numIter int) *Perceptron {
	return &Perceptron{
		eta:     eta,
		numIter: numIter,
	}
}
func NewPerceptron ( eta float64 , numIter int ) * Perceptron { return & Perceptron { eta : eta , numIter : numIter , } }
NewPerceptron creates and returns a perceptron.
NewPerceptron creates and returns a perceptron .