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(data_matrices, k, seed = 42)

Arguments

data_matrices

A list of numeric matrices. Each matrix should have dimensions (subjects by 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 by k).