Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is it possible to add multiple covariance types? #42

Closed
sdodingnan opened this issue Jan 7, 2022 · 3 comments
Closed

Is it possible to add multiple covariance types? #42

sdodingnan opened this issue Jan 7, 2022 · 3 comments

Comments

@sdodingnan
Copy link

Thank you for your excellent work,I want to know if there is a more flexible GMR, similar to sklearn, which can limit the covariance type to ‘shared’, ‘spherical’ or ‘diag'. Sometimes we don’t need a 'full' type of covariance matrix. I look forward to your reply.

@AlexanderFabisch
Copy link
Owner

Hi and thanks.

You can always use sklearn for training and then pass the covariances to gmr like in this example: https://github.com/AlexanderFabisch/gmr/blob/master/examples/plot_iris_from_sklearn.py

Would that work for you? I don't plan to copy the feature to gmr.

@sdodingnan
Copy link
Author

sdodingnan commented Jan 25, 2022

嗨,谢谢。

您始终可以使用 sklearn 进行训练,然后将协方差传递给 gmr,如下例所示:https ://github.com/AlexanderFabisch/gmr/blob/master/examples/plot_iris_from_sklearn.py

这对你有用吗?我不打算将该功能复制到 gmr。

I got it, thanks, but whether the GMR can be used for prediction with the same input and output, such as time series anomaly detection tasks, add some noise to the input, and fix it through GMR, if it is normal data, it can be reconstructed well, and the prediction errors will be very large if it is abnormal

@AlexanderFabisch
Copy link
Owner

AlexanderFabisch commented Jan 25, 2022

This could be possible. Pass the noisy data as X and the denoised data as y to the method GMR.fit. Let me know whether it works as you need it. I don't know. My guess is that you cannot really distinguish noise that is not normally distributed from normally distributed noise if you only have a few samples.

Repository owner locked and limited conversation to collaborators Feb 4, 2022
@AlexanderFabisch AlexanderFabisch converted this issue into discussion #47 Feb 4, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants