Skip to content

Commit

Permalink
Update lib/scholar/metrics/classification.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Oct 26, 2023
1 parent 69f5f9f commit 025bb85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/scholar/metrics/classification.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,6 @@ defmodule Scholar.Metrics.Classification do
f32
0.6952293515205383
>
iex> weights = Nx.tensor([0.7, 2.3, 1.3, 0.34])
iex(361)> Scholar.Metrics.Classification.log_loss(y_true, y_prob, num_classes: 2, sample_weights: weights)
#Nx.Tensor<
Expand Down

0 comments on commit 025bb85

Please sign in to comment.