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
Hi.
Thanks for a great binding!
I have built FANN 2.2.0, and generated the four mex functions.
Now I am struggling to get a sensible output when using createFann, trainFann and testFann. Please see the matlab commands and outputs below. Should not actualValues equal suggestedValues? Do you have any idea what I am doing wrong?
Hi.
Thanks for a great binding!
I have built FANN 2.2.0, and generated the four mex functions.
Now I am struggling to get a sensible output when using createFann, trainFann and testFann. Please see the matlab commands and outputs below. Should not actualValues equal suggestedValues? Do you have any idea what I am doing wrong?
samples = [...
-1 -1
-1 1
1 -1
1 1];
actualValues = [...
-1
1
1
-1];
numVariables = size(samples,2);
numResults = size(actualValues,2);
connectivity = 1;
max_epochs = 500000;
desired_error = .0000001;
layers = [numVariables 3 5 numResults];
% makeFann;
ann = createFann(layers,connectivity);
ann = trainFann(ann,samples,actualValues,desired_error,max_epochs)
ann =
[actualValues suggestedValues]
ans =
-1.0000 0.0000
1.0000 0.0000
1.0000 0.0000
-1.0000 0.0000
suggestedValues =
1.0e-314 *
The text was updated successfully, but these errors were encountered: