In case you are load armadillo then you need to transpose the matrix after
load, if the coordinate list is in row major format. It might be the cause as
the error says requested size is not compatible with column vector layout.
Commands to run :
Let x be the matrix name.
arma :: sp_mat x; // only if in case of loading sparse matrix (this is optional)
x.load("***.csv") //armadilo load
x = x.t() // Here is your command to transpose the matrix.
Try this if it works out fine.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/844#issuecomment-269088849
_______________________________________________
mlpack mailing list
[email protected]
http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack