Can we apply to GridSearchCV to Logistic regression .? 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'


Sample data

Airline_sentiment     text

0     said &lt;br/&gt;
1     plu youv ad commerci experi tacki &lt;br/&gt;
2     didnt today must mean need take anoth trip&lt;br/&gt;

penalty = ['l1', 'l2']&lt;br/&gt;
C = np.logspace(0, 4, 10)&lt;br/&gt;
hyperparameters = dict(C=C, penalty=penalty)&lt;br/&gt;
gs = **GridSearchCV**(lr,hyperparameters,cv=5)&lt;br/&gt;
I believe that the first thing you should do is to convert your data to a numeric type. 

Maybe this starter tutorial can help you 
https://towardsdatascience.com/introduction-to-natural-language-processing-nlp-323cc007df3d