Open xhxt2008 opened 3 weeks ago
hi @xhxt2008 , just looking at this quickly, but here are two potential reasons behind this:
From my understanding of the code, it looks like it's attempting to fit an LR model to each of the features. Either of the two cases above could cause the matrix to be ill-conditioned or singular.
Thank you for replay!
The sample size is over 200,000, is it too small. But F filter was well worked.
The sample size doesn't look inherently "small", but it does depend on the distributions of your features. If any feature is constant, it will result in a singular matrix which can't be inverted. I think this could also happen if your features are highly skewed (so maybe not constant, but "almost constant").
Describe the bug When i run below code with my data :
An Error occured:
umath_linalg.inv
got a singular matrix.