Spatial modeling using machine learning concepts

📖 Documentation — the API
reference and the design records, published with each release.
Geoscientific data is becoming increasingly larger and more complex. Multiple variables, structural constraints, etc. are becoming the norm rather than the exception.
Conventional modelling approaches are very labour-intensive, subjective, and hard to reproduce. CAD-drawn orebodies, variograms, pre- and post-processing steps can result in workflows so complicated that even professionals can become lost within their own work. geoML is being designed to simplify geomodelling and empower the user with advanced machine larning tools that respect geology.
This package contains machine learning models specialized in spatial interpolation and smoothing with calibrated confidence intervals. Current functionality includes:
- Gaussian process modeling in 1D, 2D, and 3D, with
anisotropy ellipsoid;
- Variational Gaussian process for classification and multivariate
modeling;
- Support for compositional data;
- Support for directional data (structural geology
measurements, scalar field gradients, etc.);
- Support for implicit modelling with boundary data (points
lying in the boundary between two rock types);
- Deep learning for non-stationary modeling;
- Exports results to PyVista format;
- Back-end powered by TensorFlow.
Installation
pip install git+https://github.com/italo-goncalves/geoML
Python 3.10 or newer. The dependencies — NumPy, SciPy, pandas, scikit-learn,
scikit-image, TensorFlow, TensorFlow Probability, Zarr, xarray, dask,
PyVista, VTK, Matplotlib, Plotly, ezdxf and openpyxl — are declared with
their lower bounds in pyproject.toml and installed with the package.
pip install -e .[dev] adds what the documentation and the type check need.
Examples
The following notebooks demonstrate the capabilities of the package (if one
of them seems broken, it is probably going through an update).
Learning materials
Using geoML with Claude Code
This repository ships a Claude Code plugin
carrying the package's own working knowledge: the object model, the module
layout, the modelling workflow, and the notebook conventions the examples
above follow. It means Claude writes geoML code the way geoML is meant to be
written, rather than guessing an API from its name.
Install it from within Claude Code:
/plugin marketplace add italo-goncalves/geoML