Kanaries / Rath

Next generation of automated data exploratory analysis and visualization platform.
https://kanaries.net
GNU Affero General Public License v3.0
4.28k stars 335 forks source link

[feat] dep.fid depends only on dep.params[0]: #212

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/Kanaries/Rath/blob/fe41774375c795ea0335014cc8577d8e5c372691/services/causal-service/algorithms/causallearn/XLearner.py#L121


    G_fd: Gfd中的点集,原图编号
    """
    for dep in functional_dependencies:
        if len(dep.params) == 1: # TODO: [feat] dep.fid depends only on dep.params[0]:
            param, f = dep.params[0].fid, dep.fid
            u, v = f_ind[dep.params[0].fid], f_ind[dep.fid]
            src, dest = NodeId.get(u, None), NodeId.get(v, None)
github-actions[bot] commented 1 year ago

Closed in 98ed7ab65648198d12964890b15f0a52ba2d0b4a