Thanks for the reply sir. I am sharing my code with Link: colab.research.google.com/drive/… 1. I have taken only 1st 100 samples of IRIS dataset with first 50(label 0) and last 50(label 1) converted manually in my dataset file. Even if i take a dataset with label 1, the predicted value is label 0 always.