|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml.subspace.DimensionalityReduction
jml.subspace.MDS
public class MDS
Multi-dimensional Scaling (MDS).
Field Summary |
---|
Fields inherited from class jml.subspace.DimensionalityReduction |
---|
r, R, X |
Constructor Summary | |
---|---|
MDS(int r)
Constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
void |
run()
Do dimensionality reduction. |
static org.apache.commons.math.linear.RealMatrix |
run(org.apache.commons.math.linear.RealMatrix D,
int p)
Dimensionality reduction by MDS. |
Methods inherited from class jml.subspace.DimensionalityReduction |
---|
feedData, feedData, getDataMatrix, getReducedDataMatrix, getReducedDimensionality, setReducedDimensionality |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MDS(int r)
r
- number of dimensions to be reduced toMethod Detail |
---|
public static void main(java.lang.String[] args)
args
- public void run()
DimensionalityReduction
run
in class DimensionalityReduction
public static org.apache.commons.math.linear.RealMatrix run(org.apache.commons.math.linear.RealMatrix D, int p)
D
- an n x n dissimilarity matrix where n is the
sample sizep
- number of dimensions to be reduced to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |