initialize_parameters: Initialize Parameters for ALLDA

View source: R/allda.R

initialize_parametersR Documentation

Initialize Parameters for ALLDA

Description

Initialize the similarity matrix S based on k-nearest neighbors.

Usage

initialize_parameters(X, y, ncomp, k)

Arguments

X

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

y

Label vector of length n (not directly used here but kept for consistency).

ncomp

Reduced dimension (not used here but included for consistency).

k

Number of neighbors.

Value

A list containing the initialized similarity matrix S.


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