Re: matrix multiple time VS get nearest-neighb …

楼主: kinda (天天)   2005-03-30 07:54:15
※ 引述《kinda (天天)》之铭言:
: I count the time of "Matrix multiply" and "Find nearest neighbor's type".
: The result
: [1] "matrix multiple cost time: 6.65000000000023"
: [1] "get min cost time: 67.229999999987"
: [1] "k= 1 total instance= 16000"
: [1] "correct rate= 0.92125"
: [1] "total cost time= 77.36"
After optimization for "Find nearest neighbor's type" part with 10 attribute
The result
[1] "matrix multiply cost time: 7581.14000004263"
[1] "get min cost time: 571.980000003477"
[1] "k= 1 total instance= 520000"
[1] "correct rate= 0.9705"
[1] "total cost time= 8526.26"
can expect with 5cv cost time =8526x5/3600=11.8 hrs on linux5

Links booklink

Contact Us: admin [ a t ] ucptt.com