org.hisee.core
Class AddData

java.lang.Object
  |
  +--org.hisee.core.AddData

public class AddData
extends java.lang.Object

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

AddData

public AddData()
Method Detail

coordinate

public static double[] coordinate(int i,
                                  int j,
                                  double[] hi_point)
Coordinate project new points

Parameters:
i - first low-d coordinate for projection
j - second low-d coordinate for projection
hi_point - new point upstairs
Returns:
projected point downstairs

triangulate

public static double[] triangulate(Dataset upstairs,
                                   Dataset downstairs,
                                   double[] hi_point)
Adds a new datapoint which preserves distances to nearest neighbors

Parameters:
upstairs - reference to upstairs dataset
downstairs - reference to downstairs dataset
hi_point - new hi-d point to be added
Returns:
low-d point

nn_subspace

public static double[] nn_subspace(Dataset upstairs,
                                   Dataset downstairs,
                                   double[] hi_point)
Adds new datapoint to subspace spanned by nearest-neighbors

Parameters:
upstairs - reference to upstairs dataset
downstairs - reference to downstairs dataset
hi_point - new hi-d point to be added
Returns:
low-d point


for more information see hisee.sourceforge.net