tiepvupsu / DICTOL

DICTOL - A Dictionary Learning Toolbox in Matlab and Python
https://github.com/tiepvupsu/DICTOL
GNU General Public License v3.0
187 stars 89 forks source link

Few issues #3

Closed secondsensei closed 1 year ago

secondsensei commented 3 years ago
  1. Y is a size 2000x50 matrix. Should this be transposed?

  2. k, and lambda are defined variables. What are my options for opts?

`>> ODL(Y, k, lambda, opts, 'fista') Unable to perform assignment because dot indexing is not supported for variables of this type.

Error in initOpts (line 14) opts.verbose = 0;

Error in ODL (line 36) opts = initOpts(opts);`

When I ran the function. I got this error. Please assist

tiepvupsu commented 3 years ago
  1. Y should be in shape [n_features, n_samples], which mean each column is a sample.

  2. k and lambda should be chosen based on each problem and data. k must be << n_samples lambda should be < 1 (0.1, 0.01).

  3. I don't have matlab now, not sure how I could assist you.

secondsensei commented 3 years ago

Thanks for the response. What about the 'opts' input? What can I input for 'opts'? ODL(Y, k, lambda, opts, 'fista')

tiepvupsu commented 3 years ago

Please see the source code for more information.