powered by
Computes trustworthiness and continuity for projected data (see [Kaski2003]).
ContTrustMeasure(datamat, projmat, lastNeighbor)
numerical [k,7] matrix, where k is the lastNeighbor value. The matrix contains the columns:
Neighborhood size; worst-case trustworthiness; average trustworthiness; best-case trustworthiness; worst-case continuity; average continuity; best-case continuity
where neighborhood size is the size of the neighberhood considered, which ranges from 1:lastNeighbor
numerical matrix of data: n cases in rows, d variables in columns
numerical matrix of projected data: n cases in rows, k variables in columns, where k is the projection output dimension
scalar, maximal size of neighborhood to be considered
Michael Thrun
C++ source code comes from https://research.cs.aalto.fi/pml/software/dredviz/
[Kaski2003]: Samuel Kaski, Janne Nikkilä, Merja Oja, Jarkko Venna, Petri Törönen, and Eero Castren. Trustworthiness and metrics in visualizing similarity of gene expression. BMC Bioinformatics, 4:48, 2003.
An alternative measure is the KLMeasure
data('Hepta') Data=Hepta$Data res=MDS(Data) Proj = res$ProjectedPoints PlotProjectedPoints(res$ProjectedPoints,Hepta$Cls) ContTrustMeasure(Hepta$Data, Proj, 10)
Run the code above in your browser using DataLab