Clear Filters
Clear Filters

Non-negative least square method is giving fixed values

60 views (last 30 days)
Arnab Paul
Arnab Paul on 27 May 2024 at 22:28
Answered: Nipun on 11 Jun 2024 at 18:20
I am trying the NNLS with my dataset to solve the a problem. The values are for each column remain same and no changes at all in each column. what is the possible exlanation for this?
I have adde the .mat adn .m file with the question. I could use SVD but the the values need to be positive as hey are concentration.
Any help will be appreciated.
  6 Comments
Matt J
Matt J on 30 May 2024 at 21:12
Maybe your input data don't differ very much.
Arnab Paul
Arnab Paul on 30 May 2024 at 21:30
They are actually different. Even though is it possible to have the monotonous values all across the column?

Sign in to comment.

Answers (1)

Nipun
Nipun on 11 Jun 2024 at 18:20
Hi Arnab,
I understand that you are experience an issue with NNLS (Non-Negative Least Squares) where the values for each column remain unchanged. This issue might be due to several factors, such as:
  1. Insufficient variability in the data.
  2. Constraints not properly applied.
  3. Issues with the initial guess or convergence criteria.
For more details on NNLS, you can refer to the following MathWorks documentation link: https://www.mathworks.com/help/matlab/ref/lsqnonneg.html
Hope this helps.
Regards,
Nipun

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!