AffinityPropagation
AffinityPropagation
A model type for constructing a Affinity Propagation Clustering of data, based on MLJScikitLearnInterface.jl, and implementing the MLJ model interface.
From MLJ, the type can be imported using
AffinityPropagation = @load AffinityPropagation pkg=MLJScikitLearnInterface
Do model = AffinityPropagation()
to construct an instance with default hyper-parameters. Provide keyword arguments to override hyper-parameter defaults, as in AffinityPropagation(damping=...)
.
Hyper-parameters
damping = 0.5
max_iter = 200
convergence_iter = 15
copy = true
preference = nothing
affinity = euclidean
verbose = false