Chemical Separator

https://drive.google.com/open?id=1eM8v1nAfZlM_Hcynad0XmS6S9pxDKGYG

When i replace the for loop used in accuracy function with a
single statement

correct_pred=(y_pred==y_test).sum()

then i am not getting correct results