diff --git a/package.json b/package.json
index 98140444..c05fb43f 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,7 @@
"angular-oauth2-oidc": "^12.0.0",
"bungie-api-ts": "^4.11.0",
"dexie": "^3.0.3",
+ "kmeans-ts": "^1.0.4",
"lzutf8": "^0.6.0",
"rxjs": "~6.6.0",
"tslib": "^2.2.0",
diff --git a/src/app/components/authenticated-v2/subpages/armor-cluster-page/armor-cluster-page.component.html b/src/app/components/authenticated-v2/subpages/armor-cluster-page/armor-cluster-page.component.html
index 672a3e20..ad96f2da 100644
--- a/src/app/components/authenticated-v2/subpages/armor-cluster-page/armor-cluster-page.component.html
+++ b/src/app/components/authenticated-v2/subpages/armor-cluster-page/armor-cluster-page.component.html
@@ -7,7 +7,7 @@
@@ -15,6 +15,9 @@
Please note that it will cluster all armor for all characters.
Make sure to use "is:titan", "is:warlock" or "is:hunter" in DIM.
+ Note that the clustering algorithm is randomized: It may create different clusters with
+ different item counts every time.
+
Please also note that this feature is new and may have some inaccuracy for some items.
| @@ -117,9 +131,9 @@ |
-
+
- {{clusterInformation[idx].mean[idx1] |number:'1.0-0'}}
+ {{cluster.mean[idx1] |number:'1.0-0'}}
@@ -131,10 +145,10 @@
|