Dear Deepak, Can you share in a gist, pastebin, or the like, a snippet with your relevant code? Particularly at this moment I am interested to know whether you are using the parameter use_pca.
Cheers, Fernando. On 12 April 2016 at 08:39, Deepak Rishi <[email protected]> wrote: > Hi everyone, > > I am using the python package metric_learn > http://all-umass.github.io/metric-learn/metric_learn.lmnn.html for Large > Margin Nearest Neighbour. It uses LMNN from Shogun if it is installed. > Since Shogun has a faster implementation for LMNN I decied to use it. > > When I run my code for LMNN in python I get the error "SystemError: > [ERROR] In file /home/drishi/shogun-4.1.0/src/shogun/preprocessor/PCA.cpp > line 102: target dimension should be less or equal to than minimum of N and > D > " > > Any advice on why is this error occurring ? > > > Regards, > Deepak >
