-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardize testing output: Response Selection (#5824)
* create plotting utils * write errors and successes for responses * fix file names * update plot filenames * add changelog entry * add missing docstrings * update tests * fix type * address deepsource issues * use io_utils * fix call to write_text_file * added complete intent and response key to the 'intent' key * Update rasa/nlu/test.py Co-authored-by: Daksh Varshneya <[email protected]> * Update rasa/nlu/test.py Co-authored-by: Daksh Varshneya <[email protected]> * use intent_target key for confustion matrix Co-authored-by: Daksh <[email protected]> Co-authored-by: Roberto <[email protected]>
- Loading branch information
1 parent
6e23dd3
commit dd954c3
Showing
8 changed files
with
679 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Standardize testing output. The following test output can be produced for intents, responses and entities: | ||
- report: a detailed report with testing metrics per label (e.g. precision, recall, accuracy, etc.) | ||
- errors: a file that contains incorrect predictions | ||
- successes: a file that contains correct predictions | ||
- confusion matrix: plot of confusion matrix (only intents and responses) | ||
- histogram: plot of confidence distribution (only intents and responses) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.