org.hisee.core
Class ProjectSammon

java.lang.Object
  |
  +--org.hisee.core.Projector
        |
        +--org.hisee.core.ProjectSammon

public class ProjectSammon
extends Projector

ProjectSammon.java Implements gradient descent to compute image of Sammon projection.


Field Summary
 
Fields inherited from class org.hisee.core.Projector
addMethod, downstairs, theSettings, upstairs
 
Constructor Summary
ProjectSammon()
           
ProjectSammon(Settings set)
           
 
Method Summary
 double getEpsilon()
           
 void init(Dataset up, Dataset down)
          Perform necessary initialization
 boolean isExtendible()
           
 boolean isIterable()
           
 double iterate()
          Iterate the Sammon algorithm and return currentCloseness
 void project()
          Perform operations necessay to project the data.
 void setEpsilon(double d)
           
 
Methods inherited from class org.hisee.core.Projector
addDatapoint, addUpstairs, checkDatasets, compareDatasets, getAddMethod, getAddMethodIndex, getDownstairs, getPerturbationAmount, getTheSettings, getTolerance, getUpstairs, init, setAddMethod, setPerturbationAmount, setTheSettings, setTolerance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectSammon

public ProjectSammon()

ProjectSammon

public ProjectSammon(Settings set)
Method Detail

init

public void init(Dataset up,
                 Dataset down)
Perform necessary initialization

Overrides:
init in class Projector
Parameters:
up - Reference to high dimensional dataset
down - Reference to low dimensional dataset. Pass NULL if not available

iterate

public double iterate()
Iterate the Sammon algorithm and return currentCloseness

Specified by:
iterate in class Projector
Returns:
the current error

isIterable

public boolean isIterable()
Specified by:
isIterable in class Projector
Returns:
true if this projection algorithm is iterable, false otherwise

isExtendible

public boolean isExtendible()
Specified by:
isExtendible in class Projector
Returns:
true if this projection algorithm accepts new new points, false otherwise

project

public void project()
Description copied from class: Projector
Perform operations necessay to project the data. For iterable functions this is just a stub.

Specified by:
project in class Projector

getEpsilon

public double getEpsilon()
Returns:
step size for Sammon map

setEpsilon

public void setEpsilon(double d)
Parameters:
d - step size for Sammon map


for more information see hisee.sourceforge.net