Github user iyounus commented on the pull request:

    https://github.com/apache/spark/pull/11610#issuecomment-194522061
  
    I should point out that to identify constant features, I'm comparing 
variance (aVar) to zero. But, It can happen that the variance for constant 
features may not be identically zero due to numerical inaccuracies. In this 
case, the cholesky decomposition still fails. Is there a good way to deal with 
this problem. I'm thinking of comparing aVar to some very small number, maybe 
1e-10, instead of 0.0. Is there a better way to deal with this problem?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to