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/
alexsc has joined #mlpack
< alexsc>
hey there. I’m trying using NCA and I would be interested in knowing 2 things… 1. how to interpret the output matrix “distance”, that is not symmetrical: in order to transform a vector “x” to the new space, shall I do x ° A or A ° x ? 2. Is there a way to achieve dimensionality reduction with this NCA implementation? would be cool to use it, for example, for 2D visualization
< alexsc>
with A I meant the “distance” matrix. A is the name in the original paper
alexsc has quit [Quit: alexsc]
alexsc has joined #mlpack
alexsc has quit [Quit: alexsc]
alexsc has joined #mlpack
< alexsc>
after a few more trial and error, I’d say: I haven’t really understood how to use it… now checking the test for the NCA class I see that the matrix that’s output from LearnDistance can be fed into a Gradient object… still I don’t get how to find a projection matrix for my dataset that minimizes the KNN error, using NCA
alexsc has quit [Quit: alexsc]
alexsc has joined #mlpack
whosik has joined #mlpack
alexsc has quit [Quit: alexsc]
alexsc has joined #mlpack
alexsc has quit [Quit: alexsc]
< rcurtin>
alexsc: sorry for the slow response---in order to use the output matrix from NCA, it depends on whether you are working in C++ where the data is column-major, or if you have used the command-line program or Python binding
< rcurtin>
in any case, your matrix A will be non-symmetric and d x d, and your data matrix will be either d x n or n x d (again depending on what language you are using), so there will be only one way to multiply it
< rcurtin>
for dimensionality reduction, I don't think you can do that directly with NCA, but, you could do a two-step process where you first stretch your dataset with the output of NCA
< rcurtin>
then use PCA to remove the dimensions with minimum variance
vivekp has quit [Ping timeout: 255 seconds]
alexscc has joined #mlpack
vivekp has joined #mlpack
< alexscc>
back, if anybody answered please paste back… I’ll keep the connection alive now.. thank you