[mlpack-git] [mlpack/mlpack] Resetting stats in NeighborSearc. (#672)
MarcosPividori
notifications at github.com
Fri Jun 3 09:43:16 EDT 2016
@sumedhghaisas @rcurtin
After a code review, I think we have this 2 options:
- Only add a comment to the docummentation of the method Search(Tree* queryTree, ...), mentioning that the queryTree's stats should be resetted before calling Search again with the same queryTree and a different reference dataset.
- Modify the method Search(Tree* queryTree, ...), to reset all stats of the tree at the beginning. This could slow down the calculation a bit. For example, in NSModel, the class creates a new tree and then call Search. In that case, resetting the stats wouldn't be necessary, because the tree is new...
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/672#issuecomment-223582071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160603/a6d28a88/attachment.html>
More information about the mlpack-git
mailing list