Skip to content

Commit

Permalink
feat (arc): better exception presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed Jan 4, 2024
1 parent c31d6cc commit cb16218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adonisjs/public/editor/annotate/js/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class AnnotationMetrics {
const ds = r - er // deviation score

const arc =
(max - er == 0) ? '0/0' : (r - er) / (max - er) // adjusted ratio of clustering
(max - er == 0) ? ('' + (r - er)) + ('/' + (max - er)) : (r - er) / (max - er) // adjusted ratio of clustering

console.log('\n\n=== Clustering Free Recall ===')
console.log(JSON.stringify(categoriesOrder))
Expand Down

0 comments on commit cb16218

Please sign in to comment.