I have a training set made up of 20k examples. Where each example is a 2k dim. vector that consists of mostly 0s with a few 1s. My neural net outputs a 2k dim vector but the results are not binary. Can I use logistic regression to train a model to binarize my results from the neural net? If so can someone point me to some matlab code to do this. Thanks!
[link][comment]