Jaccard Annealing Clustering
Regularized Jaccard tag partitioning with QAP Simulated Annealing and planar hitting-set edges.
- Stage 02: Clustering & Projection
- Stage Default
- 2 min read
- requiresTags: true
- Updated 2026-11-15
Key Takeaways
- Built-in default clustering strategy when items carry discrete tags.
- Best when you want crisp structural separation between 1-cluster halos, 2-cluster edge bridges, and 3-cluster centroids.
Visual Mechanism
Factory Signature
@simplex-viz/core, @simplex-viz/svg, and @simplex-viz/reactStage 02 Overview →createJaccardAnnealingClusteringStrategy<TItem, TTagMeta>(options?: JaccardClusteringOptions<TItem>): SimplexClusteringStrategy<TItem, TTagMeta>Options & Defaults
(item: TItem) => readonly string[]
Extracts discrete topic tags per item.
'planar-hitting-set' | 'strict-core' | SharedTagExpansionFn
Governs how bridge tags shared across non-adjacent clusters are routed onto mesh edges.
'explaining-away' | 'all-matching' | SimplexItemAnchorFn
Determines simplex unit weights for items matching multiple vertex clusters.
number
Deterministic Simulated Annealing iterations for QAP mesh vertex placement.
Jaccard Tag Partitioning & QAP Simulated Annealing
Jaccard Annealing Clustering builds a regularized tag co-occurrence graph, partitions tags into K balanced clusters, and solves a Quadratic Assignment Problem (QAP) via deterministic Simulated Annealing so strongly co-occurring clusters sit on 1-hop adjacent mesh vertices. Across updates, the Hungarian algorithm matches new clusters to prior vertices to preserve cluster UIDs and OKLab colors.
Usage Example
import {
SimplexTopicGraph,
createJaccardAnnealingClusteringStrategy,
} from '@simplex-viz/react';
const jaccard = createJaccardAnnealingClusteringStrategy({
sharedTagRule: 'planar-hitting-set',
anchorRule: 'explaining-away',
});
<SimplexTopicGraph items={items} clusteringStrategy={jaccard} />;