Evaluate Test Phrases
The sample of data used to provide an unbiased evaluation of a final trained model based on the selected train set. In general, the test set is well-curated. It contains carefully sampled data that spans the various classes that the model would face, when used in the real world.
The Test Set feature (Test Set tab) enables you train the bot with test phrases that are similar to the bot training phrases, creating a powerful ML model for your bot.
Similar to the Train Set, if there are parent flows with child intents, you can also evaluate the child models.
Importing test data in bulk
The Test module of the DRUID Evaluation tool works with bulk sets of test phrases, using template based import / export of test phrases in Excel file format.
Prerequisites
- Make sure to use only templates downloaded from DRUID platform, to avoid table structure misalignment. Download the Test phrases excel template by clicking Test Set button and then Download.
- Make sure that the utterances in the excel file are in the language you want to evaluate (using the Evaluation tool). Only ONE single language must be used per excel file. Create separate excel files for each different language you wish to test.
- After downloading the Excel template file, fill in the test phrase set as follows:
- In column B (Utterances) fill in the test phrases.
- In column C (Expected Intent Name) fill in the name of DRUID Flow which the respective test phrase is expected to match.
To import your test set from an excel file, click the Test Set button and then click Upload.
Browse for the excel file and select it. Click the Upload button.
After uploading the test set excel file, this will be evaluated for data coherence. In case errors occur during file evaluation, these will be mentioned in column O (Import Status) of the SAME file you uploaded. The updated file will be available for download in the same pop-up window used to initially upload the file.
Click the Evaluate button to evaluate your test set.
The Test Set page provides you with matching percentage for each test phrase.
Exporting test set
To export a test data, click the Test Set button, then click Download. The excel file contains detailed information on all test phrases and their corresponding intents (flows).