Skip to content

Commit

Permalink
fix: a word
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Nov 16, 2023
1 parent ebce5c6 commit c9a2b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/algorithms/clustering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This input groups `data_points` based on their S2 cell level before clustering t

## Metrics

To compare the performance of multiple algorithms the normalized `mygod_score` system is used, aptly named after a colleague who came up with it. This score is calculated by multiplying the number of clusters by the `min_points` input added to the difference of the total `input_points` and the number of `data_points` that were covered by the algorithm. This incentives the algorithms to cover the maximum number of `data_points` possible but only if the clusters cover a number of unique `data_points` that is greater than or equal to the set `min_points`. The lower the score, the better the result.
To compare the performance of multiple algorithms the normalized `mygod_score` system is used, aptly named after a colleague who came up with it. This score is calculated by multiplying the number of clusters by the `min_points` input added to the difference of the total `input_points` and the number of `data_points` that were covered by the algorithm. This incentiveses the algorithms to cover the maximum number of `data_points` possible but only if the clusters cover a number of unique `data_points` that is greater than or equal to the set `min_points`. The lower the score, the better the result.

```rust
pub fn get_score(&self, min_points: usize) -> usize {
Expand Down

1 comment on commit c9a2b04

@vercel
Copy link

@vercel vercel bot commented on c9a2b04 Nov 16, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

koji – ./

koji-turtiesocks.vercel.app
koji-git-main-turtiesocks.vercel.app
koji.vercel.app

Please sign in to comment.