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: invalid literal for int() with base 10: 'itching' #2

Open
osaket opened this issue Jul 22, 2020 · 5 comments
Open

ValueError: invalid literal for int() with base 10: 'itching' #2

osaket opened this issue Jul 22, 2020 · 5 comments

Comments

@osaket
Copy link

osaket commented Jul 22, 2020

No description provided.

@osaket osaket closed this as completed Jul 22, 2020
@osaket osaket reopened this Jul 22, 2020
@osaket
Copy link
Author

osaket commented Jul 22, 2020

I tried running your chatbot, it does not work. I get the following:

for svm:
1.0
Traceback (most recent call last):
File "chat_bot.py", line 279, in
getSeverityDict()
File "chat_bot.py", line 105, in getSeverityDict
_diction={row[0]:int(row[0])}
ValueError: invalid literal for int() with base 10: 'itching'

Any fix around this?

@itachi9604
Copy link
Owner

If it is the matter that you probably are using VS code for execution of the code then please switch to Pycharm. If it doesn't help, just ping again. I will be happy to resolve your problem.

@Clara-z
Copy link

Clara-z commented Sep 11, 2020

i also have the same problem (using pycharm)

@itachi9604
Copy link
Owner

Hello everyone, I really am sorry for that error. It was because of the try except statement for _diction.
I made correction to the code. I ran it now. It is working fine.

@Hafsa469
Copy link

Hi! Can you please tell me the basic working of a tree that on which bases it is predicting the diseases because in mostly cases the irrelevant diseases are predicted?
Like for high_fever it is pedicting Arthritis while high fever is not in its symptoms.

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

4 participants