I ran into a bit of a problem regarding mediation analysis using the graph from discovery.
When using the toy model (graph with shape (3, 3, 3)), everything works fine.
However, when using my actual output from the discovery step on the graph with shape (44, 44, 11), making an instance of the CausalMediation class never seems to finish.
Is this expected behavior for large datasets? It's been running for about a day now.
Also, maybe just on a side node, there is an interesting library called cuml which has GPU-accelerated implementations of some of the scikit models like KNeighborsRegressor which basically come with the same API. Might be interesting for this package, since the package import could e.g. just be put into a try/catch statement to get some speed 😄
Hey,
I ran into a bit of a problem regarding mediation analysis using the graph from discovery.
When using the toy model (graph with shape (3, 3, 3)), everything works fine. However, when using my actual output from the discovery step on the graph with shape (44, 44, 11), making an instance of the CausalMediation class never seems to finish.
Is this expected behavior for large datasets? It's been running for about a day now.
Also, maybe just on a side node, there is an interesting library called cuml which has GPU-accelerated implementations of some of the scikit models like KNeighborsRegressor which basically come with the same API. Might be interesting for this package, since the package import could e.g. just be put into a try/catch statement to get some speed 😄
Anyhow, thanks for the package @jakobrunge