Rasa test nlu produces wrong partitions on using the percentages argument #6120
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
type:bug 🐛
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Rasa version: rasa==1.10.4
Python version: Python 3.6.9
Operating system (windows, osx, ...): Ubuntu 18
Issue:
Currently
rasa test nlu
allows specifying percentages of the training dataset to be excluded while training using the-P
flag. This isn't currently done correctly.E.g: If the percentages were
-P 50 25
then you would expect that the number of training samples would be 500 and 250 if the original training dataset size was 1000 samples.BUT, the way the function currently work will generate number of training samples of 500 and 125 samples.
rasa/rasa/nlu/test.py
Lines 1848 to 1865 in 4830308
Command or request that led to error:
I am willing to submit a PR to solve this so kindly assign the issue to me.
Thanks
The text was updated successfully, but these errors were encountered: