Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Oct 6, 2024
1 parent 0ae2515 commit 6cb2e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func main() {
- `WithLinearDecay()`: Apply linear distance weighting (`1 / (1 + dist)`).
- `WithQuadraticDecay()`: Apply quadratic distance weighting (`1 / (1 + dist^2)`).
- `WithDistanceWeightFunc(f func(dist int) float64)`: Use a custom distance weighting function.
- `WithValues(values []float64)`: Assign specific vote values for each data point.
- `WithValues(values []float64)`: Assign vote values for each data point.

## Benchmarks

Expand Down

0 comments on commit 6cb2e59

Please sign in to comment.