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 dont want to read the training set from the file! i tried to manually train it using ann.Train, but the MSE does not go below 0.25. any idea why?
const numLayers = 3
const desiredError = 0.00001
const maxEpochs = 500000
const epochsBetweenReports = 1000
ann := fann.CreateStandard(numLayers, []uint32{2, 3, 1})
ann.SetActivationFunctionHidden(fann.SIGMOID_SYMMETRIC)
ann.SetActivationFunctionOutput(fann.SIGMOID_SYMMETRIC)
Hello,
i dont want to read the training set from the file! i tried to manually train it using ann.Train, but the MSE does not go below 0.25. any idea why?
const numLayers = 3
const desiredError = 0.00001
const maxEpochs = 500000
const epochsBetweenReports = 1000
ann := fann.CreateStandard(numLayers, []uint32{2, 3, 1})
ann.SetActivationFunctionHidden(fann.SIGMOID_SYMMETRIC)
ann.SetActivationFunctionOutput(fann.SIGMOID_SYMMETRIC)
trainInput := [][]fann.FannType{{-1.0, -1.0}, {-1.0, 1.0}, {1.0, -1.0}, {1.0, 1.0}}
trainOutput := [][]fann.FannType{{-1.0}, {1.0}, {1.0}, {-1.0}}
for i := 1; i <= maxEpochs; i++ {
ann.ResetMSE()
}
how can you fix that? could you please provide an example (maybe using TrainOnData)?
Thanks
The text was updated successfully, but these errors were encountered: