Open shamitb opened 4 years ago
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?
Also how to train for a new area and a set of documents? Say cardiology or diabetes etc.
Hi, these are label indicators.
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?