i'm wondering whether there is a speedup in python that could be done with the @ operations.
X : ndarray, shape (n, p)
Design matrix for regression, with n number of
observations and p number of model parameters.
y : ndarray, shape (n, b)
Data, with n number of observations and b number of targets.
in some cases we have more model parameters than observations (e.g. when using betas to predict some variables)
(this insight came from reading this):
https://www.benjaminjohnston.com.au/matmul
in these instances, given that scipy.linalg.blas.sgemm is faster with 'f' than 'c'
perhaps we would perform much faster if the "large" dimension was the first one
i'm wondering whether there is a speedup in python that could be done with the @ operations.
in some cases we have more model parameters than observations (e.g. when using betas to predict some variables)
(this insight came from reading this):
https://www.benjaminjohnston.com.au/matmul
in these instances, given that scipy.linalg.blas.sgemm is faster with 'f' than 'c'
perhaps we would perform much faster if the "large" dimension was the first one