Hot answers tagged

4 votes
Accepted

Convert Symmetrix Matrix into Lower Triangular Matrix

NumPy has a convenient built-in function for accessing the lower-triangular or upper-trianglar entries of an array. To get the lower-triangular entries, you can use ...
Harry Richman's user avatar
1 vote

Convert Symmetrix Matrix into Lower Triangular Matrix

There seems to be a scipy method that retains the lower triangle but with the 0s. See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.tril.html#scipy.sparse.tril
Ram RS's user avatar
  • 2,279
1 vote

pip installation within conda env: Error downgrading scikit-learn - WARNING: No metadata

pip and conda don't mix and good advice is don't ever mix them. Thus to avoid this delete your old environment, create a new <...
M__'s user avatar
  • 12.1k

Only top scored, non community-wiki answers of a minimum length are eligible