fileNotFoundError: "domain_knowledge.yaml". When using RCAEngine
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start by reproducing the RCAEngine example with the mentioned df.csv and inspect how pyrca/applications/example/configs/domain_knowledge.yaml is located or loaded. Done means the shown build_causal_graph and train_bayesian_network calls run without the reported FileNotFoundError.
Written by the indexing model from the issue text.
Description
Hi
When I run this code
from pyrca.applications.example.rca import RCAEngine
engine = RCAEngine()
engine.build_causal_graph(
df=df,
run_pdag2dag=True,
max_num_points=5000000,
verbose=True
)
bn = engine.train_bayesian_network(dfs=[df])
bn.print_probabilities()
I found this error "FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ASUS\anaconda3\lib\site-packages\pyrca\applications\example\configs/domain_knowledge.yaml'".
Please help me
Thank you very much
.
(Note, I used df.csv yours)
- Dominant language
- Python
- Stars
- 572
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from salesforce/PyRCA
-
Model EvaluationOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
salesforce/PyRCA#65 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
salesforce/PyRCA#64 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
salesforce/PyRCA#63 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
salesforce/PyRCA#62 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
salesforce/PyRCA#61 · 2 comments ·
All issues in salesforce/PyRCA
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
MakazhanAlpamys/Soup#3589 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-connect#1266 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
biosustain/growthcurves_app#89 ·
Maintainers usually reply within 1 day
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not existOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
canonical/loki-k8s-operator#695 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day