Skip to content

Commit

Permalink
Renamed online dict_learning appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
vene committed Jun 27, 2011
1 parent c01ea0e commit f68b50a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scikits/learn/decomposition/sparse_pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,10 @@ def cost_function():
return U, V, E


def dict_learning(Y, n_atoms, alpha, n_iter=100, return_code=True,
dict_init=None, callback=None, chunk_size=3, verbose=False,
shuffle=True, n_jobs=1, coding_method='lars'):
def dict_learning_online(Y, n_atoms, alpha, n_iter=100, return_code=True,
dict_init=None, callback=None, chunk_size=3,
verbose=False, shuffle=True, n_jobs=1,
coding_method='lars'):
"""
Online dictionary learning for sparse coding
Expand Down

0 comments on commit f68b50a

Please sign in to comment.