update_similarity: Update Similarity Matrix S

View source: R/allda.R

update_similarityR Documentation

Update Similarity Matrix S

Description

Update the similarity matrix S using the optimal subspace projection W.

Usage

update_similarity(X, W, k, r, epsilon = 1e-10)

Arguments

X

Data matrix of size n x d (n samples, d features).

W

Transformation matrix (d x ncomp).

k

Number of neighbors.

r

Parameter r controlling the influence of distances (should be > 1).

epsilon

Small constant to avoid division by zero (default is 1e-10).

Value

Updated similarity matrix S (n x n).


bbuchsbaum/discursive documentation built on April 14, 2025, 4:57 p.m.