Skip to content

Commit

Permalink
Remove Tucan.layers/1 with a single layer (elixir-nx#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Jun 20, 2024
1 parent e0ada5e commit d570f48
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions notebooks/manifold_learning.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ coords = [
y: trimap_res[[.., 1]] |> Nx.to_flat_list()
]

Tucan.layers([
Tucan.scatter(coords, "x", "y", point_size: 1)
])
Tucan.scatter(coords, "x", "y", point_size: 1)
|> Tucan.set_size(300, 300)
|> Tucan.set_title(
"Mammoth dataset with reduced dimensionality using Trimap",
Expand All @@ -197,9 +195,7 @@ coords = [
y: tensor_data[[0..10000, 2]] |> Nx.to_flat_list()
]

Tucan.layers([
Tucan.scatter(coords, "x", "y", point_size: 1)
])
Tucan.scatter(coords, "x", "y", point_size: 1)
|> Tucan.set_size(300, 300)
|> Tucan.set_title(
"Mammoth data set with reduced dimensionality using trimap",
Expand Down Expand Up @@ -286,9 +282,7 @@ coords = [
y: tsne_res[[.., 1]] |> Nx.to_flat_list()
]

Tucan.layers([
Tucan.scatter(coords, "x", "y", point_size: 1)
])
Tucan.scatter(coords, "x", "y", point_size: 1)
|> Tucan.set_size(300, 300)
|> Tucan.set_title(
"Mammoth dataset with reduced dimensionality using Trimap",
Expand Down

0 comments on commit d570f48

Please sign in to comment.