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.
| 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 |
ProjectSammon
public ProjectSammon()
ProjectSammon
public ProjectSammon(Settings set)
init
public void init(Dataset up,
Dataset down)
- Perform necessary initialization
- Overrides:
init in class Projector
- Parameters:
up - Reference to high dimensional datasetdown - 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