Machine-Learning-Web-Apps icon indicating copy to clipboard operation
Machine-Learning-Web-Apps copied to clipboard

ValueError: could not convert string to float: 'The grace of our Lord Jesus Christ be with you all. Amen.'

Open Thrqureshi opened this issue 5 years ago • 1 comments

Hi There

I am not an expert in python when i try to run your "Semi-Automated-Machine-Learning-Flask-App(Drag-&-Drop-Dataset)"

I am getting the following error

ValueError: could not convert string to float: 'The grace of our Lord Jesus Christ be with you all. Amen.'

could you please let me know how to fix this issue

Thrqureshi avatar Jun 30 '19 05:06 Thrqureshi

@Thrqureshi , you will have to vectorize the text data either using countvectorizer or tfidfvectorizer to convert the text into vectors/numbers for the ML model to understand.

Jcharis avatar Nov 02 '19 01:11 Jcharis