You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just checking out the least squares algorithm in the learn.Evaluation() method and I can't find the maths to back up the algorithm used. Would you be able to point me in the right direction?
Why isn't the Means Square Error being used here? Example:
func Evaluation(n *neural.Network, in, ideal []float64) float64 {
out := n.Calculate(in)
var e float64
for i, _ := range out {
e += math.Pow(out[i]-ideal[i], 2)
}
return e / float64(len(out))
}
The text was updated successfully, but these errors were encountered:
I was just checking out the least squares algorithm in the
learn.Evaluation()
method and I can't find the maths to back up the algorithm used. Would you be able to point me in the right direction?Why isn't the Means Square Error being used here? Example:
The text was updated successfully, but these errors were encountered: