softsys4ai / cure Goto Github PK
View Code? Open in Web Editor NEWCausal Understanding and Remediation for Enhancing Robot Performance
License: MIT License
Causal Understanding and Remediation for Enhancing Robot Performance
License: MIT License
Hi @pooyanjamshidi @cjshearer Thank you so much for sharing your findings in the paper and the code to reproduce the results! I am very interested in your research! But, I could not find the the implementation of LatentSearch and entropy-based edge orientation in the resolve_edges method of causal_model.py below. Could you please kindly shed some light? Thanks a lot in advance!
# replace trail and undirected edges with single edges using entropic policy
for i in range (len(PAG)):
if trail_edge in PAG[i]:
PAG[i]=PAG[i].replace(trail_edge, directed_edge)
elif undirected_edge in PAG[i]:
PAG[i]=PAG[i].replace(undirected_edge, directed_edge)
else:
continue
for edge in PAG:
cur = edge.split(" ")
if cur[1]==directed_edge:
node_one = self.colmap[int(cur[0].replace("X", ""))-1]
node_two = self.colmap[int(cur[2].replace("X", ""))-1]
options[node_one][directed_edge].append(node_two)
elif cur[1]==bi_edge:
node_one = self.colmap[int(cur[0].replace("X", ""))-1]
node_two = self.colmap[int(cur[2].replace("X", ""))-1]
options[node_one][bi_edge].append(node_two)
else: print ("[ERROR]: unexpected edges")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.