Re: knn in c

作者: ChihJen ( )   2005-03-29 20:37:25
Very good.. This is closer to what we estimated.
Compared to rafan's estimate of using C,
your result clearly shows the power of optimized BLAS.
I think for the next homework you are allowed to use any tool
you like. This makes your analysis easier.
However, I do hope some of you use tools other than matlab.
For example, if you already have a simple C code
for reading the data, you can try to link optimized BLAS
directly or use ATLAS.
Except intel's optimized BLAS, you can try "goto's BLAS,"
which may be even faster:
http://www.tacc.utexas.edu/~kgoto/
It is also interesting to see the performance
difference on 32/64 bit machines.
I also hope someone could study how to let R use optimized
BLAS.
※ 引述《anguso (愛寶)》之銘言:
: For cross-validation, Matlab may need about 3.3767 hours.
: And for test the whole 61012 test data, it would take about
: 1 hour.
: Significant difference from R.......
: ※ 引述《ChihJen ( )》之銘言:
: : So how are your experiments on using matlab?

Links booklink

Contact Us: admin [ a t ] ucptt.com