Skip to content

Conversation

@yara-elkady
Copy link
Contributor

After adding 'threshold' parameter to the pipeline, there are a few changes to note.

Form
Threshold parameter is set (eg: 70%)

  1. Max Probability < Threshold :
    Present segment note + dead-end note (Low confidence)
image
  1. Max Probability > Threshold :
    Present segment note (Normal Behavior)
  2. Dead-End :
    Assign highest probability segment overall + Dead-end note (Normal Behavior)

If threshold parameter is not set, it will default to zero. Therefore, the the low confidence note will not be presented in the first case and case 2 will be the default behavior. (No change happens to dead-ends)

Form Mermaid Diagram
Threshold parameter is set (eg: 70%)

  1. Max Probability < Threshold :
    Draw an ordered stack of segment shapes that include the percentages
  2. Max probability > Threshold :
    Present segment without percentage (Normal Behavior)
  3. Dead-End:
    Draw segment of highest probability overall without percentage (Normal Behavior)
image

If threshold parameter is not set, it will default to zero. Therefore, case 1 will not be implemented and case 2 will be the default behavior. (No change happens to dead-ends)

Notes

  • Leaving the threshold empty disables the feature and doesn't raise errors
  • PR for typing tool pipelines should be merged first before this one so that the pipeline doesn't crash due to the missing parameter
  • Mermaid Diagram Example with threshold > 70
  • For segment note and dead-end note, this is the excel configuration used in the example
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants