Modifying Warnings That Seems To Come From Nowhere
Solution 1:
This is a documented issue on the Rasa NLU repository. I would recommend following these issues or adding your comments there for resolution. One is marked as help wanted, meaning they are looking for a community contribution to address it.
- Training on demo-rasa.json results in UndefinedMetricWarning
- Show name of intent(s) that lack enough train examples
The tl:dr on why the warning occurs from the first issue linked above:
so the warning is just a warning. It indicates that there are too few training examples for one / some of the intents. Adding more examples will fix this (thats why adding duplicates will remove this warning, but really you should be adding different examples).
If you want the warning to go away add more training data. Use the evaluation.py script to find the intents that are lacking.
From the warning message you can see it is produced from sklearn/metrics/classification.py
which is this file here.
Post a Comment for "Modifying Warnings That Seems To Come From Nowhere"