New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sparse coding dictionary initialization as a template parameter #220

Closed
rcurtin opened this Issue Dec 29, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@rcurtin
Member

rcurtin commented Dec 29, 2014

Reported by rcurtin on 12 Dec 42294044 23:42 UTC
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.

@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

This comment has been minimized.

Show comment
Hide comment
@rcurtin

rcurtin Dec 30, 2014

Member

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.

Member

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