Code Monkey home page Code Monkey logo

Comments (4)

juliohm avatar juliohm commented on May 27, 2024

That is a great idea. We can start broadening our view of a SimulationSolution as defined in GeoStatsBase.jl to be an empirical distribution in which geostatistical realizations are the samples. In this general sense, we could start computing summary statistics like the mean, var, and quantile as suggested.

I think the code should live in GeoStatsDevTools.jl because it can be useful to other packages and solvers in the future. I agree we should extend the methods in Statistics 👍

What is still unclear to me is the output format of these functions. What would be useful from a user's perspective? Let's say we take the mean of a solution, what is the format of the output? Should we return a dictionary mapping properties to mean maps? Something like the output of the digest function we already have. We could start by returning another SimulationSolution object with a single realization containing the mean, and then calling the already implemented digest on it as the return value.

If you can sketch an initial implementation of the mean function for example in a file called GeoStatsDevTools.jl/src/solutions/postprocessing.jl that would be very helpful. Feel free to add your name in the copyright header like in other files ;)

from geostats.jl.

juliohm avatar juliohm commented on May 27, 2024

Actually, you could start adding the functions to the existing file GeoStatsDevTools.jl/src/solutions/simulation_solution.jl. This is a generic place in the source where we can add functionality for SimulationSolution objects.

from geostats.jl.

juliohm avatar juliohm commented on May 27, 2024

This is being tracked in juliohm/GeoStatsDevTools.jl#2

from geostats.jl.

juliohm avatar juliohm commented on May 27, 2024

Fixed on master, thanks @riyadm.

from geostats.jl.

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.