Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Singularity matrix #12

Closed
Joanna-0421 opened this issue Oct 25, 2023 · 8 comments
Closed

About Singularity matrix #12

Joanna-0421 opened this issue Oct 25, 2023 · 8 comments

Comments

@Joanna-0421
Copy link

When I use FGES algorithm, the output has lots of "Singularity encountered when scoring X|X".
I wonder if this is normal? If it is abnormal, how can I solve this problems?
Thank you very much.

@jdramsey
Copy link
Collaborator

jdramsey commented Oct 25, 2023 via email

@Joanna-0421
Copy link
Author

Could you describe your data?

On Wed, Oct 25, 2023 at 3:53 AM zhangziyuan @.> wrote: When I use FGES algorithm, the output has lots of "Singularity encountered when scoring X|X". I wonder if this is normal? If it is abnormal, how can I solve this problems? Thank you very much. — Reply to this email directly, view it on GitHub <#12>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFSR7W3GLLFOUB7GHSL4TYBDAQTAVCNFSM6AAAAAA6O5HRFOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DANZXHA3DCNA . You are receiving this because you are subscribed to this thread.Message ID: @.>

The data is an open source multivariate time series dataset called SMAP. Each time serie contains 55 features. More details about this dataset can be found https://www.kaggle.com/datasets/patrickfleith/nasa-anomaly-detection-dataset-smap-msl.
I use all the train data to learn the causal graph, using FGES.
Thank you very much.

@jdramsey
Copy link
Collaborator

jdramsey commented Oct 25, 2023 via email

@Joanna-0421
Copy link
Author

Oh, cool, a rover dataset! A long time ago, I worked on some data for an earlier rover. This is going to require some thought, though, so give me a few days. I'll get to it. The basic problem with singularities is just that--some variables are linear combinations (exactly) of other variables. If you want to use a score that inverts correlation matrices for submatrices, you need to remove some variables from the data since that will throw singularity exceptions. But until I look at the data, I can't give you much useful advice. You could treat the data all as discrete, which should, in principle, work if the sample size is big enough. That is, add a discretization step. I've thought of doing a Linear Gaussian BIC score that uses generalized matrix inversion but don't think it will be available in the near future. On Wed, Oct 25, 2023 at 9:29 AM zhangziyuan @.> wrote:

Could you describe your data? … <#m_3357814697248003521_> On Wed, Oct 25, 2023 at 3:53 AM zhangziyuan @.
> wrote: When I use FGES algorithm, the output has lots of "Singularity encountered when scoring X|X". I wonder if this is normal? If it is abnormal, how can I solve this problems? Thank you very much. — Reply to this email directly, view it on GitHub <#12 <#12>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFSR7W3GLLFOUB7GHSL4TYBDAQTAVCNFSM6AAAAAA6O5HRFOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DANZXHA3DCNA https://github.com/notifications/unsubscribe-auth/ACLFSR7W3GLLFOUB7GHSL4TYBDAQTAVCNFSM6AAAAAA6O5HRFOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DANZXHA3DCNA . You are receiving this because you are subscribed to this thread.Message ID: @.
> The data is an open source multivariate time series dataset called SMAP. Each time serie contains 55 features. More details about this dataset can be found https://www.kaggle.com/datasets/patrickfleith/nasa-anomaly-detection-dataset-smap-msl . I use all the train data to learn the causal graph, using FGES. Thank you very much. — Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFSRZTHBCM6U6M5BKFRNTYBEH3JAVCNFSM6AAAAAA6O5HRFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGI4DAMRUGE . You are receiving this because you commented.Message ID: @.
**>

Thank you very much for your helping. I will also try some methods based on your ideas.

@jdramsey
Copy link
Collaborator

jdramsey commented Oct 25, 2023 via email

@jdramsey
Copy link
Collaborator

Hi, is this still a live issue? Can I close it?

@Joanna-0421
Copy link
Author

Hi, is this still a live issue? Can I close it?

yes! I don't have problems, thank you very much.

@jdramsey
Copy link
Collaborator

Great, thanks! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants