The datasets refer to LIBSVM.
Because using complete test dataset will cost long time to get results, here just take some records as the test dataset.
python kdtree.py
python balltree.py
Dataset | Building Time (s) | Searching Time (s) | Number of Calculations |
---|---|---|---|
ijcnn1 | 0.356 | 0.777 | 12694.25 |
mnist | 7.35 | 5.415 | 60000 |
shuttle | 0.247 | 0.439 | 5900.8 |
Dataset | Building Time (s) | Searching Time (s) | Number of Calculations |
---|---|---|---|
ijcnn1 | 21.571 | 0.301 | 4643.7 |
mnist | 77.306 | 3.533 | 40698.6 |
shuttle | 17.805 | 0.168 | 2730.1 |