Comments (13)
Yes, in fact I agree that it's not worth digging into the details of the packages. My hunch is that there is a problem with the downgrading of some packages forced by anaconda=5.3.1. In any case, for myself I won't use anaconda and spyder anymore since they seem to introduce unnecessary complications.
from dowhy.
Thanks for raising this @mgralle ! I am trying to understand the source of the error. When I try this script on my local machine, I obtain the same value each time (1671.13) for linear regression.
Can you share samples of the different estimate values that you got?
from dowhy.
Thanks for paying attention to this problem!
When running my script on python 3.7 in Spyder 3.3.1 in Anaconda, I get the following estimated values from linear regression:
(1) Causal estimate from linear regression is 1671.1308841235102
(2) Causal estimate from linear regression is 937.2998778128333
(3) Causal estimate from linear regression is -333.2514015372243
Re-running the entire script, I get:
(1) Causal estimate from linear regression is 1671.1308841235102
(2) Causal estimate from linear regression is -782.0656222357087
(3) Causal estimate from linear regression is -861.948525208911
After exiting Spyder and re-entering, I get:
(1) Causal estimate from linear regression is 1671.1308841235111
(2) Causal estimate from linear regression is 741.7360515239643
(3) Causal estimate from linear regression is -74.26662536330865
Hope that helps!
from dowhy.
unable to recreate on python3.6. Making a fresh install of python3.7 to test your script there
from dowhy.
on a fresh install of python3.7, i get
(1) Causal estimate from linear regression is 1671.130884123515
(2) Causal estimate from linear regression is 1671.130884123515
(3) Causal estimate from linear regression is 1671.130884123515
so can't reproduce. @mgralle can you provide minimal steps to reproduce in a fresh venv?
from dowhy.
from dowhy.
perfect! Thanks so much.
from dowhy.
Thanks @mgralle for spending the time. Let us know when you have an update.
from dowhy.
from dowhy.
from dowhy.
from dowhy.
great! It sounds like the solution might be to say dowhy requires anaconda>5.3.1
, and fixing package versions in requirements.txt
to ones that are tested to work. The alternative would be to dig deep into details of which packages are failing, and that's a lot of time that could be spent on higher priorities (other bug fixes; adding features; documentation; tech debt). Do you agree?
from dowhy.
from dowhy.
Related Issues (20)
- Evaluation Metrics for Causal Graphs HOT 4
- Inconsistent encoding with pandas get_dummies causes prediction and effect estimation errors HOT 6
- Falsification of given DAG: not working on simulated data? HOT 4
- Causal Graph not provided. DoWhy will construct a graph based on data inputs. HOT 1
- how to use the function of estimate_effect of CausalModel class? HOT 4
- gcm.arrow_strength providing different ranking HOT 6
- conda release 0.11.1 is missing HOT 1
- File Not Found error in Jupyter Notebook when i use auto.assign_causal_mechnism HOT 8
- buggidy giggidy
- Counterfactual Reasoning with Categorical Variables HOT 3
- Time complexity of constructing cause-and-effect diagram HOT 3
- Support polars data frames HOT 2
- What is the purpose of providing observation data in gcm.conventional_samples()?
- Python 3.12 support HOT 9
- Clarify the differences among refute methods HOT 11
- Feature relevance/Influence HOT 26
- Graphviz installation : --include-path not recognized anymore HOT 4
- Does this package support non-English languages? HOT 3
- Question about Dummy Outcome Refuter HOT 2
- Inconsistency in the placebo_treatment_refuter when using estimate_effect of IV HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dowhy.