suggest_clustering_algorithm

Function suggest_clustering_algorithm 

Source
pub fn suggest_clustering_algorithm<F: Float + FromPrimitive + Debug + PartialOrd>(
    data: ArrayView2<'_, F>,
    n_clusters: Option<usize>,
) -> Result<String>
Expand description

Validate and suggest appropriate clustering algorithm

Analyzes the dataset characteristics and suggests the most appropriate clustering algorithm with explanations.

§Arguments

  • data - Input data matrix
  • n_clusters - Desired number of clusters (if known)

§Returns

  • Result<String> - Recommendation message