Giter VIP home page Giter VIP logo

Comments (13)

mgralle avatar mgralle commented on July 19, 2024 1

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.

amit-sharma avatar amit-sharma commented on July 19, 2024

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.

mgralle avatar mgralle commented on July 19, 2024

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.

akelleh avatar akelleh commented on July 19, 2024

unable to recreate on python3.6. Making a fresh install of python3.7 to test your script there

from dowhy.

akelleh avatar akelleh commented on July 19, 2024

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.

mgralle avatar mgralle commented on July 19, 2024

from dowhy.

akelleh avatar akelleh commented on July 19, 2024

perfect! Thanks so much.

from dowhy.

amit-sharma avatar amit-sharma commented on July 19, 2024

Thanks @mgralle for spending the time. Let us know when you have an update.

from dowhy.

mgralle avatar mgralle commented on July 19, 2024

from dowhy.

mgralle avatar mgralle commented on July 19, 2024

from dowhy.

mgralle avatar mgralle commented on July 19, 2024

from dowhy.

akelleh avatar akelleh commented on July 19, 2024

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.

mgralle avatar mgralle commented on July 19, 2024

from dowhy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.