Skip to content

Add confidence analysis function for explainability#2

Open
mokashang wants to merge 1 commit intokhuangaf:masterfrom
mokashang:claude/add-new-function-011CUwaTPii5CnJUTXhKEm1Z
Open

Add confidence analysis function for explainability#2
mokashang wants to merge 1 commit intokhuangaf:masterfrom
mokashang:claude/add-new-function-011CUwaTPii5CnJUTXhKEm1Z

Conversation

@mokashang
Copy link

Added a new analyze_confidence() method to the ZeroFEC class that provides detailed insights into the correction process:

  • Breaks down entailment and ROUGE scores for the selected correction
  • Categorizes confidence levels (high/medium/low)
  • Ranks all candidate corrections with their scores
  • Provides warnings for potential issues (low confidence, significant changes, etc.)
  • Includes statistics across all candidates

This enhances the framework's interpretability goal by making the correction decision process more transparent and explainable to users.

Updated README.md with usage examples and documentation.

Added a new analyze_confidence() method to the ZeroFEC class that provides
detailed insights into the correction process:

- Breaks down entailment and ROUGE scores for the selected correction
- Categorizes confidence levels (high/medium/low)
- Ranks all candidate corrections with their scores
- Provides warnings for potential issues (low confidence, significant changes, etc.)
- Includes statistics across all candidates

This enhances the framework's interpretability goal by making the correction
decision process more transparent and explainable to users.

Updated README.md with usage examples and documentation.
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