I'm working on a time series dataset and therefore while fitting the GaussianMixture()
function from the scikit-learn
package, I need to make each feature(timestamp) dependent. However, I don't find a parameter to customize the covariance matrix after examining the source code.
With my limited statistics knowledge, I'm curious how I can modify the covariance matrix during the E-step to incorporate time dependency into GMM model. Thank you very much.
Here is the Source Code: The change I want to make is in the estimate_gaussian_parameters() function https://github.com/scikit-learn/scikit-learn/blob/7389dba/sklearn/mixture/gaussian_mixture.py#L435