in this problem training i am getting error while splitting the data into xtrain and ytrain (ValueError: could not convert string to float: “O’Donoghue, Ms. Bridget”)
please help how to fix this problem
Regarding dataset
Hello @CCCB0018, could you please share a screenshot of the problem your are facing along with the piece of code that raises the exception.
Thanks
is there any whatsapp group where i can share ss of the code
hi Prateek ;
from the error i can say You are casting the string into float .
to remove this u must remove explicit casting being done over the columns