When I apply GridSearchCV to my model Logistic Regression, it's continuously throwing below error. I understand that it's trying to convert string to float. But that's was my data. So how can I convert my x value to float? Can any please hep me with this issue. Thank you.
Error: could not convert string to float: 'great im readi go home'
0 said <br/> 1 plu youv ad commerci experi tacki <br/> 2 didnt today must mean need take anoth trip<br/> penalty = ['l1', 'l2']<br/> C = np.logspace(0, 4, 10)<br/> hyperparameters = dict(C=C, penalty=penalty)<br/> gs = **GridSearchCV**(lr,hyperparameters,cv=5)<br/>