[mlpack-svn] [MLPACK] #168: Remove hierarchical parameter support from CLI

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Wed Nov 30 03:06:55 EST 2011


#168: Remove hierarchical parameter support from CLI
-------------------------+--------------------------------------------------
 Reporter:  rcurtin      |        Owner:                                        
     Type:  enhancement  |       Status:  new                                   
 Priority:  minor        |    Milestone:  MLPACK 1.0                            
Component:  MLPACK       |     Keywords:  cli removal hierarchy optionshierarchy
 Blocking:               |   Blocked By:  150                                   
-------------------------+--------------------------------------------------
 So, I know a lot of work went into `optionshierarchy.hpp` and other
 related classes, but, after a long discussion (spurred by #150) it is
 clear that the CLI interface should be entirely separated from classes for
 reasons of data encapsulation and all sorts of other issues keeping class
 parameters in a global object can create.

 Once #150 is completed, the only `PARAM_*` macros will be in `_main.cpp`
 files, and this removes the need for true hierarchical parameter support.
 A user could still specify a parameter with a name like
 `lbfgs/armijo_constant`, but CLI does not need to recognize this as part
 of a hierarchy -- it merely needs to group those parameters together when
 a user asks for documentation.

 Therefore, we can strip out a lot of the guts of CLI, simplifying it
 greatly.  It's unfortunate that I didn't see the stupidity of my original
 thoughts for what CLI should be (thanks Neil...)...

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/168>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list