(M) is so-called extreme learning, i.e., a neural network with one hidden layer,
with
(A1) is your own implementation of the QR factorization technique, which must obtain linear cost in the largest dimension.
(A2) is incremental QR, that is, a strategy in which you update the QR factorization after the addition of a new random feature column
No off-the-shelf solvers allowed.