Skip to content

Commit

Permalink
Incorporate feedback.
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
krstopro and josevalim authored Dec 24, 2023
1 parent 1613da4 commit 2e120b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/scholar/neighbors/random_projection_forest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ defmodule Scholar.Neighbors.RandomProjectionForest do
iex> key = Nx.Random.key(12)
iex> tensor = Nx.iota({5, 2})
iex> Scholar.Neighbors.RandomProjectionForest.fit(tensor, num_trees: 3, min_leaf_size: 2, key: key).indices
iex> forest = Scholar.Neighbors.RandomProjectionForest.fit(tensor, num_trees: 3, min_leaf_size: 2, key: key)
iex> forest.indices
#Nx.Tensor<
u32[3][5]
[
Expand Down

0 comments on commit 2e120b6

Please sign in to comment.