Current section
Files
Jump to
Current section
Files
gen/test/statistics_test.erl
-module(statistics_test).
-compile(no_auto_import).
-export([root_mean_square_error_test/0]).
-spec root_mean_square_error_test() -> gleam@should:expectation().
root_mean_square_error_test() ->
gleam@should:equal(
gleam_synapses@statistics:root_mean_square_error(
gleam@iterator:from_list(
[{[0.0, 0.0, 1.0], [0.0, 0.0, 1.0]},
{[0.0, 0.0, 1.0], [0.0, 1.0, 1.0]}]
)
),
0.7071067811865476
).