CaCode_ has joined #mlpack
CaCode has quit [Ping timeout: 244 seconds]
CaCode_ has quit [Ping timeout: 244 seconds]
CaCode has joined #mlpack
CaCode_ has joined #mlpack
CaCode has quit [Ping timeout: 276 seconds]
krushia has quit [Quit: Konversation terminated!]
kartikdutt18[m] has joined #mlpack
CaCode_ has quit [Quit: Leaving]
<
shrit[m]>
Does anyone know if I can use numpy matrices with mlpack in a smart way with out making my life too complex?
<
rcurtin[m]>
directly from python, or in C++?
<
shrit[m]>
everything in C++
<
shrit[m]>
If I can avoid conversion to armadillo that would be the best thing to do
<
rcurtin[m]>
numpy should give you a memory pointer, you can use that to wrap an Armadillo matrix around using one of the advanced constructors
<
rcurtin[m]>
so you will get an Armadillo object, but there will be no copying of the data
<
shrit[m]>
do we have a working example?
<
shrit[m]>
so I can have a look?
<
shrit[m]>
or do you know where I can find one?
<
rcurtin[m]>
it's "kind of" C++... it's actually Cython code. in any case, you should be able to pretty much use that, or something like it
<
shrit[m]>
thanks, I will give them a try and see if this works
<
shrit[m]>
I will do some testing without mlpack and then see with it
CaCode has joined #mlpack