ClusterValidation

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

class ClusterValidation(at: str = 'habitat_map')[source]

Bases: object

Auto-K / elbow / BIC curves from the subject’s selection_report.

stem(subject_id: str) → str[source]

Return the PNG stem <subject>_cluster_validation.

draw(ctx: SubjectContext) → 'Figure' | None[source]

Draw the validation curves, or None when the model carries no selection_report (fixed-K fits).

__init__(at: str = 'habitat_map') → None