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

How to interpret the result? #4

Open
shamitb opened this issue Jan 28, 2020 · 2 comments
Open

How to interpret the result? #4

shamitb opened this issue Jan 28, 2020 · 2 comments

Comments

@shamitb
Copy link

shamitb commented Jan 28, 2020

smoking_classifier.predict(["Smoking can lead to arterial congestions. This in the long run is injurious and even fatal as per a WHO advisory"])

I get result as:

tensor([[0.],
[1.],
[1.],
[0.]])
How do I interpret the above tensor values?

How can I specify the labels and get the label as the output?

@shamitb
Copy link
Author

shamitb commented Jan 28, 2020

Also how to train for a new area and a set of documents? Say cardiology or diabetes etc.

@AndriyMulyar
Copy link
Owner

Hi, these are label indicators.

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