Open dswah opened 8 years ago
make sure we are not penalizing the diagonals as recommended by S Kim in SNP eQTL paper.
also, why is our loss undefined so often?
made change to diagonals...
havent run across the undefined loss problem again, yet...
inf loss is happening when we use very large matrices. in this case the determinant is overflowing!
use np.linalg.slogdet
np.linalg.slogdet
make sure we are not penalizing the diagonals as recommended by S Kim in SNP eQTL paper.
also, why is our loss undefined so often?