TheoBourdais / ComputationalHypergraphDiscovery

This is the source code for the paper "Computational Hypergraph Discovery: A Gaussian process framework for connecting the dots".
Apache License 2.0
3 stars 0 forks source link

Update QuickStart doc. #2

Closed NicolasRouquette closed 6 months ago

NicolasRouquette commented 6 months ago

The API in the QuickStart example is out of date: https://github.com/TheoBourdais/ComputationalHypergraphDiscovery/blob/5cfe4349119ea8ee58dcce336f75959e3996b294/src/ComputationalHypergraphDiscovery/_GraphDiscoveryMain.py#L73

It seems that the example should be updated like this:

kernels=CHD.Modes.LinearMode()+CHD.Modes.QuadraticMode()
graph_discovery = CHD.GraphDiscovery.from_dataframe(df,mode_kernels=kernels)
TheoBourdais commented 6 months ago

Thank you for pointing this out, this is fixed.