From 3bb40b344f8d820159be5ee7990d96ca6095d147 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 9 Sep 2022 08:42:28 +1200 Subject: [PATCH] improve show for Dendrogram Cutter --- src/MLJClusteringInterface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MLJClusteringInterface.jl b/src/MLJClusteringInterface.jl index dd43b4e..598df39 100644 --- a/src/MLJClusteringInterface.jl +++ b/src/MLJClusteringInterface.jl @@ -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)