Coder Social home page Coder Social logo

Comments (4)

alex-schaaf avatar alex-schaaf commented on July 22, 2024

Hey @Ali1990dashti !

I didn't expect anyone ever to look at my exploratory notebooks for coupling gempy with approximate bayesian computation methods 😄 Thus I sadly did not upload a requirements or environment file with the proper module verions used 😞

So the notebook has not been updated sice Latest commit a528d50 on Jun 21, 2018 - so the error is due to differences in gempy versions. If I recall correctly this notebook / repository was still written with GemPy 1.x. So you could try installing a version of GemPy released around June 2018 - maybe Gempy 1.14 https://github.com/cgre-aachen/gempy/releases/tag/v1.14

But note that GemPy 1 and 2 are quite different. It might be easier to look at the official GemPy probabilistic modeling tutorial https://docs.gempy.org/tutorials/ch5_probabilistic_modeling/ch5_1.html for Monte Carlo error propagation and add your own ABC-REJ logic to it 😄

from abc-geomodeling.

Ali1990dashti avatar Ali1990dashti commented on July 22, 2024

Dear @alex-schaaf

Firstly, thanks for providing such a detailed answer to me. I truly apprciate it. I also visited both the gempy.org and also the informative github page of the gempy.
Can I ask what interp_data.geo_data_res is?
Is it a part of the theano interpolator? When I aks about its type, python says it's a gempy.core.interpolator.InterpolatorModel.
Again, thanks for giving time to me.

Cheers,
Ali

from abc-geomodeling.

alex-schaaf avatar alex-schaaf commented on July 22, 2024

The input data for GemPy models is being rescaled between 0 and 1 for the computation in theano, and this old notebook uses the dataframe with the rescaled input data to modify this data directly for the stochastic simulation.

from abc-geomodeling.

Ali1990dashti avatar Ali1990dashti commented on July 22, 2024

Sorry for making that much questions and taking your time ...
I know that input data are rescaled in Gempy using rescaling factor and centers. But the confusing point for me is that in the notebook, the rescaled data are called from the interp_data which has been the result of theano compilation (cell number 71). Does it mean that all the input data are stored as interp data in theano?
Again sorry for making that much questions ...

from abc-geomodeling.

Related Issues (1)

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.