verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
< rcurtin>
basically, if you load a CSV with data::Load() or something like this, it's automatically transposed, so your rows in the CSV become columns in the arma::mat
< radens>
Yeah, at first I thought that was going to be a problem, but then I realize that data::Load rotates the input of CSVs by default
< rcurtin>
so the short solution to your current problem is to use arma::mat not arma::Mat<int>; the slightly longer solution is to wait a minute for me to get a patch together :)
< radens>
Thanks!
< rcurtin>
this should be a relatively simple fix, basically there is just code that assumes arma::mat when it should instead be using a template type
< rcurtin>
radens: fixed in 9774978, pull from master and that should compile
rcurtin has joined #mlpack
rcurtin has joined #mlpack
< rcurtin>
that was weird, irssi decided it was done accepting input
travis-ci has joined #mlpack
< travis-ci>
mlpack/mlpack#1630 (master - 9774978 : Ryan Curtin): The build passed.
< rcurtin>
in typical boost::serialization code, you would use BOOST_SERIALIZATION_NVP() not data::CreateNVP()
< rcurtin>
but because mlpack style guidelines are that member functions start with capital letters, mlpack implements Serialize() functions not serialize() functions
< rcurtin>
and then CreateNVP() is a complex template metaprogramming shim that makes it all work :)
< rcurtin>
either way, you could also use data::Load() and data::Save(), which autodetect the type based on the extension, so something like