Clusters: private API

PortfolioOptimisers.AbstractNonHierarchicalClusteringAlgorithm — Type
abstract type AbstractNonHierarchicalClusteringAlgorithm <: AbstractClustersAlgorithm

Abstract supertype for all non-hierarchical clustering algorithm types.

A subtype makes a flat partition, a Clustering.ClusteringResult, at one number of clusters. A partition has no dendrogram to cut, so optimal_number_clusters runs the algorithm once for each candidate count. KMeansAlgorithm is the subtype.

Related

source
PortfolioOptimisers.ClTypes — Type
const ClTypes = Union{Clustering.ClusteringResult, Clustering.Hclust}

Alias for clustering result types from the Clustering.jl package.

Matches a Clustering.ClusteringResult or a Clustering.Hclust. The res field of Clusters accepts either, so one result type holds a flat partition or a dendrogram.

Related

source