about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/KPMstats/convertBinaryLabels.m
blob: aeb1e1ee3dcd7cc458eaa98fcbe492759cf5c22b (plain)
1
2
3
% labels01 = (labelsPM+1)/2; % maps -1->0, +1->1
% labelsPM = (2*labels01)-1; % maps 0,1 -> -1,1