This function applies random projection to each matrix in a list of voxel matrices. It uses a fixed seed to ensure reproducibility across runs.

antsr_random_features(voxmats, k, seed = 42)

Arguments

voxmats

A list of numeric matrices. Each matrix should have dimensions (subjects × voxels).

k

Integer. Number of projection dimensions (features) to generate.

seed

Integer. Random seed for reproducibility. Default is 42.

Value

A list of projection matrices, each with dimensions (voxels × k).