Hi all,
I've started contributing to Rinu Boney's clatern machine learning library which uses core.matrix. One of the challenges has been how to handle the wide range of sequence data structures and handling vectors and matrices in a uniform way.
For example, for the linear regression module, we want to be able to take a single vector or a matrix of vectors on which to calculate regressions. I've found that (join-along) doesn't work on 1D vectors so I had to handle 1D vectors separately using (join).
How can I check if an input is a supported core.matrix implementation? And how can I build a 2D matrix of one row from a 1D vector?
Thanks!
RJ