Open habring opened 2 years ago
Hey there,
I want to use the discriminative sparse coding method and get the error:
ValueError: Positive constraint not supported for 'lars' coding method.
I could solve this issue by downgrading scikit-learn. I had a similar issue with cvxpy. I recommend, setting the dependencies to
scikit-learn=0.21 (already required by NILMTK) cvxpy=1.0.0
instead of
scikit-learn>=0.21 (already required by NILMTK) cvxpy>=1.0.0
Best, Andi
Hey there,
I want to use the discriminative sparse coding method and get the error:
I could solve this issue by downgrading scikit-learn. I had a similar issue with cvxpy. I recommend, setting the dependencies to
instead of
Best, Andi