Added tests for CosineTree and CosineTreeBuilder

git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15817 9d5b8971-822b-0410-80eb-d18c1038ef23
Added tests for CF Module

git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15818 9d5b8971-822b-0410-80eb-d18c1038ef23
r15817 overwrote the current tree tests with ones from mlpack 1.0.4.  This
reverts that change, and reformats the cosine tree testing code.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15822 9d5b8971-822b-0410-80eb-d18c1038ef23
For now, don't build the CF test.  This is because CF depends on sp_mat, which
is not available in Armadillo <= 3.4.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15823 9d5b8971-822b-0410-80eb-d18c1038ef23
Remove EuclideanDistance() and CosineSimilarity() functions; instead, use
CosineDistance from kernels/.  Also remove trailing spaces (thanks, vim!).


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15824 9d5b8971-822b-0410-80eb-d18c1038ef23
Converting row-major to column major

git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15825 9d5b8971-822b-0410-80eb-d18c1038ef23
Removed an older version of tree test and added a new one

git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15826 9d5b8971-822b-0410-80eb-d18c1038ef23
Fix compilation errors and merge actual changes from r15826.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15827 9d5b8971-822b-0410-80eb-d18c1038ef23
The parent-child pruning bounds were too tight.  They did not consider one of
the bound terms and the cross-term, and thus failed, especially when considering
a leaf node where the furthest descendant distance was 0.  Also update
documentation a bit so that big chunk of code makes a bit more sense.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15828 9d5b8971-822b-0410-80eb-d18c1038ef23
Update tutorial.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15829 9d5b8971-822b-0410-80eb-d18c1038ef23
A few fixes.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15830 9d5b8971-822b-0410-80eb-d18c1038ef23
A few more fixes.


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15831 9d5b8971-822b-0410-80eb-d18c1038ef23
Hey look, I removed three lines of code while not changing the functionality of
anything.  Convenient!


git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@15832 9d5b8971-822b-0410-80eb-d18c1038ef23