Skip to content

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
srzeszut committed Nov 27, 2024
1 parent 2a28cd4 commit f7b89bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scholar/naive_bayes/bernoulli.ex
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ defmodule Scholar.NaiveBayes.Bernoulli do
iex> model = Scholar.NaiveBayes.Bernoulli.fit(x, y, num_classes: 3)
iex> Scholar.NaiveBayes.Bernoulli.predict(model, Nx.tensor([[6, 2, 4], [8, 5, 9]]), Nx.tensor([0, 1, 2]))
#Nx.Tensor<
s64[2]
s32[2]
[2, 2]
>
"""
Expand Down

0 comments on commit f7b89bc

Please sign in to comment.