public class LLE
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
double[][] |
coordinates
The coordinate matrix in embedding space.
|
smile.graph.AdjacencyList |
graph
Nearest neighbor graph.
|
int[] |
index
The original sample index.
|
| Constructor and Description |
|---|
LLE(int[] index,
double[][] coordinates,
smile.graph.AdjacencyList graph)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static LLE |
of(double[][] data,
int k)
Runs the LLE algorithm.
|
static LLE |
of(double[][] data,
int k,
int d)
Runs the LLE algorithm.
|
public final int[] index
public final double[][] coordinates
public smile.graph.AdjacencyList graph
public LLE(int[] index,
double[][] coordinates,
smile.graph.AdjacencyList graph)
index - the original sample index.coordinates - the coordinates.graph - the nearest neighbor graph.public static LLE of(double[][] data, int k)
data - the input data.k - k-nearest neighbor.public static LLE of(double[][] data, int k, int d)
data - the input data.d - the dimension of the manifold.k - k-nearest neighbor.