Skip to content Skip to sidebar Skip to footer

Modifying Warnings That Seems To Come From Nowhere

I forked a repository named rasa_nlu to work on a part of the code I want to modify : there is a function component.train(...) inside of a function train(...) in a file model.py wh

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.

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"