Hi, In the sigmoid neuron module, we are fitiing the sigmoid neuron to the actual data and predicting the output on X_train, then we are trying to binarize them based on the threshold 0.68
Now Y_pred_train is nothing but the predicted values by sigmoid which is actually the probability, ideally
the probability greater than 0.5 is considered as 1 and below as 0 class. Why professor is using thershold value
to binarize the predicted value.