|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.gauge.core.AddData
public class AddData
AddData is a set of functions for adding new datapoints to existing datasets, when a projection is being used in real-time. These methods will generally be fast as compared with, for example, re-running the Sammon map each time a new point is added.
| Constructor Summary | |
|---|---|
AddData()
|
|
| Method Summary | |
|---|---|
static double[] |
coordinate(int i,
int j,
double[] hiPoint)
Coordinate project new points. |
static double[] |
nnSubspace(Dataset upstairs,
Dataset downstairs,
double[] hiPoint)
Adds new datapoint to subspace spanned by nearest-neighbors. |
static double[] |
triangulate(Dataset upstairs,
Dataset downstairs,
double[] hiPoint)
Adds a new datapoint which preserves distances to nearest neighbors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddData()
| Method Detail |
|---|
public static double[] coordinate(int i,
int j,
double[] hiPoint)
i - first low-d coordinate for projectionj - second low-d coordinate for projectionhiPoint - new point upstairs
public static double[] triangulate(Dataset upstairs,
Dataset downstairs,
double[] hiPoint)
upstairs - reference to upstairs datasetdownstairs - reference to downstairs datasethiPoint - new hi-d point to be added
public static double[] nnSubspace(Dataset upstairs,
Dataset downstairs,
double[] hiPoint)
upstairs - reference to upstairs datasetdownstairs - reference to downstairs datasethiPoint - new hi-d point to be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||