I got solution using pseudoinverse method but some are negative solution. how to put condition to get all positive solution
R_pseudo = np.linalg.pinv(R)
result=R_pseudo.dot(L)
result
I got solution using pseudoinverse method but some are negative solution. how to put condition to get all positive solution
R_pseudo = np.linalg.pinv(R)
result=R_pseudo.dot(L)
result