Last active
August 27, 2021 11:18
-
-
Save SaschaHeyer/b47f169b6c92508edb5f8fcd4e9c1f9f to your computer and use it in GitHub Desktop.
Vertex AI Pipelines - metrics
This file contains hidden or 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
| @component() | |
| def evaluate( | |
| smetrics: Output[Metrics] | |
| metrics: Output[ClassificationMetrics], | |
| ): | |
| smetrics.log_metric("f1", float(f1)) | |
| metrics.log_confusion_matrix(...) | |
| metrics.log_roc_curve(...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment