Skip to content

Commit

Permalink
improve show for Dendrogram Cutter
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Sep 8, 2022
1 parent 81d5609 commit 3bb40b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MLJClusteringInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function (cutter::DendrogramCutter)(; h = nothing, k = 3)
MMI.categorical(Cl.cutree(cutter.dendrogram, k = k, h = h))
end
function Base.show(io::IO, ::DendrogramCutter)
print(io, "Dendrogram Cutter.")
print(io, "Dendrogram Cutter (callable with keyword arguments `k`, `h`)")
end

function MMI.predict(model::HierarchicalClustering, ::Nothing, X)
Expand Down

0 comments on commit 3bb40b3

Please sign in to comment.