sparse coding completed