Skip to content
Create a gist now

Instantly share code, notes, and snippets.

create_test() ->
Fann = fannerl:create_standard({2,2,1}),
?debugMsg("exiting create_test").
get_mse_test() ->
Fann = fannerl:create_standard({2,2,1}),
0.0 = fannerl:get_mse(Fann),
?debugMsg("exiting get_mse_test").
activation_function_test() ->
Fann = fannerl:create_standard({2,2,1}),
fann_sigmoid_stepwise = fannerl:get_activation_function(Fann, 1, 1),
ok = fannerl:set_activation_function(Fann, fann_sigmoid, 1, 1),
?debugMsg("before last get"),
fann_sigmoid = fannerl:get_activation_function(Fann, 1, 1),
?debugMsg("after last get"),
?debugMsg("exiting last test").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.