First two variables are projected on first two axes.

basis_init(n, d)

Arguments

n

dimensionality of data

d

dimensionality of target projection