[mlpack] doubts in allknn
Marcus Edel
marcus.edel at fu-berlin.de
Tue Feb 10 15:26:45 EST 2015
Hello Kumar,
Your reference data is using spaces as delimiter, so my first guess is your
problem is related to the following issue:
https://github.com/mlpack/mlpack/issues/400
You can simply adjust the data format or download the latest version from the
master branch.
> Should I continue with mlpack 1.0.12 for my GSOC preparation or switch
> to other version ??
Using the latest version from the github master branch for everyday use may not
be the best idea since things are prone to change and the code can be unstable
at times since parts of it are still in active and heavy development. However I
think I would checkout the stable release from the github repo (https://github.c
om/mlpack/mlpack/commit/904762495c039e345beba14c1142fd719b3bd50e).
This has two advantages you get familiar with git and you can easily switch
between different versions.
Hopefully this is helpful. Feel free to respond if you are still having issues.
Thanks,
Marcus
> On 10 Feb 2015, at 20:15, Kumar Shubham <kumarshubham652 at gmail.com> wrote:
>
>
> Hi guys,
>
> I am trying to implement Allknn by executing
>
> LD_LIBRARY_PATH=/usr/local/lib/ allknn -q q.csv -r A.csv -n neighbors_out.csv -d distance_out.csv -k 10 -v
>
> but I am facing few issue. Although my A is of 549 rows and q of 39 rows. I am getting neighbors like this
>
> 166 4401 4401 4401 4401 4401 4401 4401 4401 4401
>
> I am attaching all the input and output file please check,
> by the way I am using mlpack 1.0.12.
>
> pls point out my mistake.
>
> Should I continue with mlpack 1.0.12 for my GSOC preparation or switch to other version ??
>
> -kumar shubham
>
>
>
> <A.csv><q.csv><neighbors_out.csv><distance_out.csv>_______________________________________________
> mlpack mailing list
> mlpack at cc.gatech.edu
> https://mailman.cc.gatech.edu/mailman/listinfo/mlpack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack/attachments/20150210/895519dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5136 bytes
Desc: not available
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack/attachments/20150210/895519dc/attachment.bin>
More information about the mlpack
mailing list