Skip to content

Replace typing module hints with modern syntax in metrics (mAP, precision_recall_curve, multilabel, matthews)#3605

Open
Manimaran-tech wants to merge 6 commits intopytorch:masterfrom
Manimaran-tech:fix/typing-metrics-specialized
Open

Replace typing module hints with modern syntax in metrics (mAP, precision_recall_curve, multilabel, matthews)#3605
Manimaran-tech wants to merge 6 commits intopytorch:masterfrom
Manimaran-tech:fix/typing-metrics-specialized

Conversation

@Manimaran-tech
Copy link
Contributor

Description

Modernize type hints in specialized ignite/metrics files by replacing typing module imports with Python 3.10+ built-in syntax.

Files changed:

  • ignite/metrics/mean_average_precision.py
  • ignite/metrics/precision_recall_curve.py
  • ignite/metrics/multilabel_confusion_matrix.py
  • ignite/metrics/matthews_corrcoef.py

Related to #3591

@github-actions github-actions bot added the module: metrics Metrics module label Feb 26, 2026
@Manimaran-tech
Copy link
Contributor Author

Manimaran-tech commented Feb 26, 2026

@vfdev-5 i have done the changes across all the pr's as u mentioned , if i failed any so kindly tell me
thank you

Copy link
Contributor Author

@Manimaran-tech Manimaran-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

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

Labels

module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant