|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.hisee.core.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[] hi_point)
Coordinate project new points |
static double[] |
nn_subspace(Dataset upstairs,
Dataset downstairs,
double[] hi_point)
Adds new datapoint to subspace spanned by nearest-neighbors |
static double[] |
triangulate(Dataset upstairs,
Dataset downstairs,
double[] hi_point)
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[] hi_point)
i
- first low-d coordinate for projectionj
- second low-d coordinate for projectionhi_point
- new point upstairs
public static double[] triangulate(Dataset upstairs, Dataset downstairs, double[] hi_point)
upstairs
- reference to upstairs datasetdownstairs
- reference to downstairs datasethi_point
- new hi-d point to be added
public static double[] nn_subspace(Dataset upstairs, Dataset downstairs, double[] hi_point)
upstairs
- reference to upstairs datasetdownstairs
- reference to downstairs datasethi_point
- new hi-d point to be added
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |