Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Thrqureshi opened this issue Jun 30, 2019 · 1 comment

Comments

@Thrqureshi
Copy link

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

@Jcharis
Copy link
Owner

Jcharis commented Nov 2, 2019

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants