Sparse coding dictionary initialization as a template parameter #220

rcurtin opened this Issue Dec 29, 2014 · 1 comment


None yet

1 participant

rcurtin commented Dec 29, 2014

Reported by rcurtin on 12 Dec 42294044 23:42 UTC
Right now we have:


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.

@rcurtin rcurtin self-assigned this Dec 29, 2014
@rcurtin rcurtin added this to the mlpack 1.0.2 milestone Dec 29, 2014
@rcurtin rcurtin closed this Dec 29, 2014
rcurtin commented Dec 30, 2014

Commented by rcurtin on 8 Feb 42513933 22:57 UTC
This was done in SparseCoding in r13024 and in LocalCoordinateCoding (a very similar method) in r13118.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment