Learn R Programming

SpecDetec (version 1.0.0)

calculateAffinityMatrix: Calculate the affinity matrix based on the similarity matrix

Description

Calculate the affinity matrix based on the similarity matrix

Usage

calculateAffinityMatrix(similarityMatrix, neighboorsNumber = 2)

Arguments

similarityMatrix

Matrix of similarity between all points in the time series

neighboorsNumber

Number of neighbors to consider affinity between nodes

Value

Affinity matrix based on the similarity matrix

Details

Calculate the affinity matrix based on the similarity matrix If the number of neighbors is equal to or greater than the similarity matrix then the similarity and affinity matrix are equal