@thi.ng/k-means 0.5.35 → 0.5.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/kmeans.d.ts +2 -2
- package/kmeans.js +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/kmeans.d.ts
CHANGED
|
@@ -56,8 +56,8 @@ export declare const medians: CentroidStrategy;
|
|
|
56
56
|
*
|
|
57
57
|
* @remarks
|
|
58
58
|
* When using this strategy, you should also use the
|
|
59
|
-
*
|
|
60
|
-
* {@link KMeansOpts.distance}.
|
|
59
|
+
* [`HAVERSINE_LATLON`](https://docs.thi.ng/umbrella/distance/variables/HAVERSINE_LATLON.html)
|
|
60
|
+
* distance metric for {@link KMeansOpts.distance}.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* ```ts
|
package/kmeans.js
CHANGED
|
@@ -162,8 +162,8 @@ export const medians = () => {
|
|
|
162
162
|
*
|
|
163
163
|
* @remarks
|
|
164
164
|
* When using this strategy, you should also use the
|
|
165
|
-
*
|
|
166
|
-
* {@link KMeansOpts.distance}.
|
|
165
|
+
* [`HAVERSINE_LATLON`](https://docs.thi.ng/umbrella/distance/variables/HAVERSINE_LATLON.html)
|
|
166
|
+
* distance metric for {@link KMeansOpts.distance}.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* ```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/k-means",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.36",
|
|
4
4
|
"description": "Configurable k-means & k-medians (with k-means++ initialization) for n-D vectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.6.
|
|
38
|
-
"@thi.ng/distance": "^2.1.
|
|
37
|
+
"@thi.ng/api": "^8.6.1",
|
|
38
|
+
"@thi.ng/distance": "^2.1.36",
|
|
39
39
|
"@thi.ng/errors": "^2.2.6",
|
|
40
|
-
"@thi.ng/random": "^3.3.
|
|
41
|
-
"@thi.ng/vectors": "^7.5.
|
|
40
|
+
"@thi.ng/random": "^3.3.19",
|
|
41
|
+
"@thi.ng/vectors": "^7.5.28"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@microsoft/api-extractor": "^7.33.7",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"status": "beta",
|
|
83
83
|
"year": 2021
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
|
|
86
86
|
}
|