Skip to content

Commit

Permalink
Merge pull request #22 from JuliaAI/cutter
Browse files Browse the repository at this point in the history
Improve show for Dendrogram Cutter
  • Loading branch information
ablaom authored Sep 9, 2022
2 parents 81d5609 + 3bb40b3 commit 2cc872a
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 2cc872a

Please sign in to comment.