Tensorflow Binary Classification Algorithm