Fixed the code in the original post (wrongly used pred
instead of pred_bool
). Also, added a check whether the prediction was already in binary format.
Fixed the code in the original post (wrongly used pred
instead of pred_bool
). Also, added a check whether the prediction was already in binary format.