[mlpack-svn] [MLPACK] #226: Sparse coding dictionary initialization as a template parameter

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Mon Apr 16 16:42:59 EDT 2012


#226: Sparse coding dictionary initialization as a template parameter
---------------------+------------------------------------------------------
 Reporter:  rcurtin  |        Owner:                                                              
     Type:  defect   |       Status:  new                                                         
 Priority:  trivial  |    Milestone:  mlpack 1.0.2                                                
Component:  mlpack   |     Keywords:  sparse coding constructor template dictionary initialization
 Blocking:           |   Blocked By:                                                              
---------------------+------------------------------------------------------
 Right now we have:

 {{{
 SparseCoding::RandomInitDictionary();
 SparseCoding::DataDependentRandomInitDictionary();
 }}}

 We could instead have the dictionary initialization as a template
 parameter:

 {{{
 template<typename DictionaryInitializer =
 DataDependentDictionaryInitializer>
 class SparseCoding
 {
   ...
 };
 }}}

 and then the dictionary initialization happens at construction-time.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/226>
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