[mlpack-svn] [MLPACK] #320: BinarySpaceTree<BallBound<> > fails

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Mon Feb 3 11:59:29 EST 2014


#320: BinarySpaceTree<BallBound<> > fails
----------------------+-----------------------------------------------------
 Reporter:  rcurtin   |        Owner:                                        
     Type:  defect    |       Status:  new                                   
 Priority:  major     |    Milestone:  mlpack 1.0.9                          
Component:  mlpack    |     Keywords:  ballbound, metric, instantiated metric
 Blocking:  246, 274  |   Blocked By:                                        
----------------------+-----------------------------------------------------
 It is not possible to instantiate the class ```BinarySpaceTree<BallBound<>
 >```, because the BallBound class does not have a Metric() function, but
 BinarySpaceTree has a Metric() function that attempts to access
 BallBound::Metric().

 The solution to this is to have BallBound hold an instantiated metric as a
 member and to ensure that any calculations done with MetricType are done
 with the instantiated metric and not MetricType::Evaluate().

 Until this is resolved it is not possible to use ball trees for any mlpack
 algorithm.

-- 
Ticket URL: <https://trac.research.cc.gatech.edu/fastlab/ticket/320>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list