diff options
Diffstat (limited to 'sourcecodes/bnt-master/KPMstats/convertBinaryLabels.m')
| -rw-r--r-- | sourcecodes/bnt-master/KPMstats/convertBinaryLabels.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/KPMstats/convertBinaryLabels.m b/sourcecodes/bnt-master/KPMstats/convertBinaryLabels.m new file mode 100644 index 00000000..aeb1e1ee --- /dev/null +++ b/sourcecodes/bnt-master/KPMstats/convertBinaryLabels.m @@ -0,0 +1,3 @@ +% labels01 = (labelsPM+1)/2; % maps -1->0, +1->1 +% labelsPM = (2*labels01)-1; % maps 0,1 -> -1,1 + |
