Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
-module(fannerl_tests).
-include_lib("eunit/include/eunit.hrl").
create_test() ->
Fann = fannerl:create_standard({2,2,1}),
fannerl:get_training_algorithm(Fann),
?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"),
0.7=fannerl:get_learning_rate(Fann),
?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.