Commit bdbb7719 authored by Joanna Luberadzka's avatar Joanna Luberadzka

tested locally, now ready to use on cluster

parent 94c60f15
......@@ -61,7 +61,7 @@ end
%labels
v_labels(count)=h5read('TIMIT_mel_frame','/label', [3 t(n)], [1 1]);
count=count+1
count=count+1;
......
......@@ -109,8 +109,8 @@ for kk=1:length(v_angles_test)
%................ Classification error .....................
[v_max, v_MAP_correct]=max(m_correct_probab,[],2);% result of the classification
[v_max, v_MAP_labels]=max(m_labels_test ,[],2);%labels in integer form (which class)
v_Error(j)=length(find(v_MAP_correct~=v_MAP_labels))/length(v_MAP_labels);
[v_max, v_MAP_labels]=max(m_labels_test ,[],1);%labels in integer form (which class)
v_Error(j)=length(find(v_MAP_correct~=v_MAP_labels'))/length(v_MAP_labels);
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment