Skip to content
Snippets Groups Projects
Commit f84ce396 authored by Jakhes's avatar Jakhes
Browse files

Finishing nmf tests

parent 41db4c27
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
%% Failure Tests
test(nmf_Wrong_UpdateRule_Input, [error(domain_error('expectation' , wrongInput), _)]) :-
test(nmf_Wrong_UpdateRule_Input, [error(domain_error('The given UpdateRule is unkown!' , wrongInput), _)]) :-
nmf(wrongInput, 10000, 0.00001, [5.1,3.5,1.4,4.9,3.0,1.4,4.7,3.2,1.3,4.6,3.1,1.5], 3, 3, _, _, _, _).
test(nmf_Negative_MaxIterations, fail) :-
......@@ -38,7 +38,7 @@ test(nmf_Multdist_High_Rank) :-
print(H).
test(nmf_Normal_Use_Multdist) :-
nmf(multdist, 10000, 0.00001, [5.1,3.5,1.4,4.9,3.0,1.4,4.7,3.2,1.3,4.6,3.1,1.5], 3, 3, W, _, H, _),
nmf(multdist, 10000, 0.00001, [5.1,3.5,1.4,4.9,3.0,1.4,4.7,3.2,1.3,4.6,3.1,1.5], 3, 2, W, _, H, _),
print('\nW: '),
print(W),
print('\nH: '),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment