Skip to content

Commit

Permalink
Make benchmarks sortable
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinsINT committed Jun 4, 2024
1 parent f625b4f commit 8ab4018
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/views/overview/subviews/BenchmarksView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ const selectedDatasetName = computed(() => corporaStore.datasetCorpora.find((d)
const metricsFilter = ref(null)
const columns = [
{ key: "tagger", label: "tagger" },
{ key: "precision", label: "macro\nprecision" },
{ key: "recall", label: "macro\nrecall" },
{ key: "f1", label: "macro\nf1" },
{ key: "accuracy", label: "micro\naccuracy" },
{ key: "precision", label: "macro\nprecision", sortOn: i => i.precision },
{ key: "recall", label: "macro\nrecall", sortOn: i => i.recall },
{ key: "f1", label: "macro\nf1", sortOn: i => i.f1 },
{ key: "accuracy", label: "micro\naccuracy", sortOn: i => i.accuracy },
{ key: "details", label: "detailed\nevaluation" },
]
/**
Expand Down

0 comments on commit 8ab4018

Please sign in to comment.