Convert raw binary-classification logits into 0/1 predicted labels: apply sigmoid, then round to the nearest integer.
logits
solve(...)