hacarus / spm-image

Sparse modeling and Compressive sensing in Python
105 stars 29 forks source link

`dict_init` of KSVD class should be attribute #106

Open sutkss opened 3 years ago

sutkss commented 3 years ago

Issue Description

scikit-learn assume that every keyword argument accepted by init should correspond to an attribute on the instance. But, dict_init is not an attribute of KSVD class. We need to add dict_init as an attribute of it.

References

sutkss commented 3 years ago

Also, fixed import error in hmlasso.py