py-why / py-why/causal-learn

how to visualize the FCM based approaches

Open
#146 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.7k
Forks
274
PR merge metrics
No merged PRs in 30d

Description

Hi there,
I noticed that the FCM methods don't produce a Graph object.

from causallearn.search.FCMBased import lingam
model = lingam.DirectLiNGAM(random_state=None, prior_knowledge=None, apply_prior_knowledge_softly=False, measure='pwling')
model.fit(dataset)

print(model.causal_order_)
print(model.adjacency_matrix_)

Why they are not following the other approach like in Constrained based and in Score Based?
Cheers.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the FCM-based DirectLiNGAM example and compare its causal_order_ and adjacency_matrix_ outputs with the Graph objects used by constrained-based and score-based approaches. Determine whether the expected outcome is an explanation, documentation, or Graph support for FCM methods; done should clearly resolve that inconsistency for users.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.