Skip to content

Commit

Permalink
Update lib/scholar/metrics/similarity.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
msluszniak authored and polvalente committed Aug 3, 2023
1 parent 3803211 commit b95711d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scholar/metrics/similarity.ex
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ defmodule Scholar.Metrics.Similarity do
0.25
>
iex> x = Nx.iota({2,3})
iex> x = Nx.tensor([[0, 1, 2], [3, 4, 5]])
iex> y = Nx.tensor([[0, 3, 4], [3, 4, 8]])
iex> Scholar.Metrics.Similarity.jaccard(x, y, axis: 1)
#Nx.Tensor<
Expand Down

0 comments on commit b95711d

Please sign in to comment.