| Package | Description |
|---|---|
| javatools.datatypes |
| Modifier and Type | Field and Description |
|---|---|
static SparseVector.Distance |
SparseVector.cosineDistance
Computes the cosine distance
|
static SparseVector.Distance |
SparseVector.eucledianDistance
Computes the eucledian distance
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SparseVector.kMeans(SparseVector[] dots,
SparseVector[] centers,
SparseVector.Distance distanceFunction,
double epsilon,
int iterations)
Does a simple K-means until the number of iterations is exceeded
|
Copyright © 2018. All rights reserved.