|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.iv.mds.util.StressCalulator
public class StressCalulator
Constructor Summary | |
---|---|
StressCalulator(java.lang.String v,
java.lang.String p,
Measure hdm)
Creates a new instance of StressCalulator. |
Method Summary | |
---|---|
double |
calculateStress()
Calculates stress-1 value. |
void |
plot(java.lang.String where,
java.lang.String name)
Writes stress value and names of files which have been used for this calculation to .gp file. |
void |
readPositions()
Reads file with point coordinates. |
void |
readVectors()
Reads file with vectors. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StressCalulator(java.lang.String v, java.lang.String p, Measure hdm)
v
- file with vectors (.ntf, .tfidf, .vector generated by Preprocessor)p
- path to .plot file with point coordinateshdm
- high-dimensional measure between objectsMethod Detail |
---|
public void readVectors()
public void readPositions()
public double calculateStress()
public void plot(java.lang.String where, java.lang.String name)
where
- path to write out filename
- name for output file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |