I have an array correctClassifierLabels with [ 1. 1. -1. -1.] and I need to turn it into [[ 1.] [ 1.][ 1.][ 1.]] I have tried
correctClassifierLabels = correctClassifierLabels[:,0:1]
and
zip(*correctClassifierLabels)
and
transpose(correctClassifierLabels)
and none of them worked for me