TopologicalCorrelation {DRquality} | R Documentation |
Topological Correlation
Description
Calculates the Topological Correlation
Usage
TopologicalCorrelation(Data,ProjectedPoints,type='norm',method,Kn=0)
Arguments
Data |
[1:n, 1:d] a numeric matrix of the given n-dim. points: the rows represent the points and the columns represent the coordinates in the d-dim. space. |
ProjectedPoints |
[1:n, 1:2] numeric matrix of Projected Points, if missing, method should be set! |
method |
Determines whether the selected projections method for a given set of d-dim. points is a good choice. Therefor, a result of 1 means the selected projection method is good, and a result value of 0 means that the Visualization of the given Data in the two-dim. space doesnt fit the problem. |
type |
How the paths in the adjacency matrix should be weighted. 'norm' representes path lenthgs of 1 and eucldidean represents the distance in the euclidean metric. |
Kn |
k nearest neighbours in the graph. only needed in method is isomap and LocallyLinearEmbedding |
Value
TC value
Author(s)
Hermann Tafo, Laukert Schlichting 07/2015
Examples
#requires DatabionicSwarm v2.2.1
if(requireNamespace("FCPS")){
#data(Hepta,package="FCPS")
#projection=cmdscale(dist(Hepta$Data), k=2)
#TopologicalCorrelation(Hepta$Data,projection)
}