All Projects → GeoStat-Framework → Pykrige

GeoStat-Framework / Pykrige

Licence: bsd-3-clause
Kriging Toolkit for Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pykrige

Gpstuff
GPstuff - Gaussian process models for Bayesian analysis
Stars: ✭ 106 (-74.46%)
Mutual labels:  gaussian-processes, spatial-analysis
Pmtween
An elegant and flexible tweening library for iOS and tvOS.
Stars: ✭ 346 (-16.63%)
Mutual labels:  interpolation
pytorch-minimal-gaussian-process
A minimal implementation of Gaussian process regression in PyTorch
Stars: ✭ 32 (-92.29%)
Mutual labels:  gaussian-processes
Geometry
Boost.Geometry - Generic Geometry Library | Requires C++14 since Boost 1.75
Stars: ✭ 282 (-32.05%)
Mutual labels:  spatial-analysis
pangeo-pyinterp
Python library for optimized interpolation.
Stars: ✭ 61 (-85.3%)
Mutual labels:  interpolation
Splinter
Library for multivariate function approximation with splines (B-spline, P-spline, and more) with interfaces to C++, C, Python and MATLAB
Stars: ✭ 295 (-28.92%)
Mutual labels:  interpolation
periodicity
Useful tools for periodicity analysis in time series data.
Stars: ✭ 15 (-96.39%)
Mutual labels:  gaussian-processes
Gempy
GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to adress parameter and model uncertainties.
Stars: ✭ 396 (-4.58%)
Mutual labels:  interpolation
Computational Geometry
Computational Geometry Unity library with implementations of intersection algorithms, triangulations like delaunay, voronoi diagrams, polygon clipping, bezier curves, ear clipping, convex hulls, mesh simplification, etc
Stars: ✭ 325 (-21.69%)
Mutual labels:  interpolation
Osmnx
OSMnx: Python for street networks. Retrieve, model, analyze, and visualize street networks and other spatial data from OpenStreetMap.
Stars: ✭ 3,357 (+708.92%)
Mutual labels:  spatial-analysis
Verde
Processing and interpolating spatial data with a twist of machine learning
Stars: ✭ 260 (-37.35%)
Mutual labels:  interpolation
shadow-accrual-maps
Accumulated shadow data computed for New York City
Stars: ✭ 15 (-96.39%)
Mutual labels:  spatial-analysis
Toflow
TOFlow: Video Enhancement with Task-Oriented Flow
Stars: ✭ 314 (-24.34%)
Mutual labels:  interpolation
Max-value-Entropy-Search
Max-value Entropy Search for Efficient Bayesian Optimization
Stars: ✭ 43 (-89.64%)
Mutual labels:  gaussian-processes
George
Fast and flexible Gaussian Process regression in Python
Stars: ✭ 379 (-8.67%)
Mutual labels:  gaussian-processes
NM
Numerical Methods (NM) for BE Electrical II Year / II Part, Email: [email protected]
Stars: ✭ 13 (-96.87%)
Mutual labels:  interpolation
Geopython
Notebooks and libraries for spatial/geo Python explorations
Stars: ✭ 268 (-35.42%)
Mutual labels:  spatial-analysis
Rgee
Google Earth Engine for R
Stars: ✭ 286 (-31.08%)
Mutual labels:  spatial-analysis
Pytorch geometric temporal
A Temporal Extension Library for PyTorch Geometric
Stars: ✭ 392 (-5.54%)
Mutual labels:  spatial-analysis
Motionmachine
A powerful, elegant, and modular animation library for Swift.
Stars: ✭ 380 (-8.43%)
Mutual labels:  interpolation

PyKrige

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3738604.svg :target: https://doi.org/10.5281/zenodo.3738604 .. image:: https://badge.fury.io/py/PyKrige.svg :target: https://badge.fury.io/py/PyKrige .. image:: https://img.shields.io/conda/vn/conda-forge/pykrige.svg :target: https://anaconda.org/conda-forge/pykrige .. image:: https://travis-ci.com/GeoStat-Framework/PyKrige.svg?branch=master :target: https://travis-ci.com/GeoStat-Framework/PyKrige .. image:: https://coveralls.io/repos/github/GeoStat-Framework/PyKrige/badge.svg?branch=master :target: https://coveralls.io/github/GeoStat-Framework/PyKrige?branch=master .. image:: https://readthedocs.org/projects/pykrige/badge/?version=stable :target: http://pykrige.readthedocs.io/en/stable/?badge=stable :alt: Documentation Status .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black

.. figure:: https://github.com/GeoStat-Framework/GeoStat-Framework.github.io/raw/master/docs/source/pics/PyKrige_250.png :align: center :alt: PyKrige :figclass: align-center

Kriging Toolkit for Python.

Purpose ^^^^^^^

The code supports 2D and 3D ordinary and universal kriging. Standard variogram models (linear, power, spherical, gaussian, exponential) are built in, but custom variogram models can also be used. The 2D universal kriging code currently supports regional-linear, point-logarithmic, and external drift terms, while the 3D universal kriging code supports a regional-linear drift term in all three spatial dimensions. Both universal kriging classes also support generic 'specified' and 'functional' drift capabilities. With the 'specified' drift capability, the user may manually specify the values of the drift(s) at each data point and all grid points. With the 'functional' drift capability, the user may provide callable function(s) of the spatial coordinates that define the drift(s). The package includes a module that contains functions that should be useful in working with ASCII grid files (*.asc).

See the documentation at http://pykrige.readthedocs.io/ <http://pykrige.readthedocs.io/>_ for more details and examples.

Installation ^^^^^^^^^^^^

PyKrige requires Python 3.5+ as well as numpy, scipy. It can be installed from PyPi with,

.. code:: bash

pip install pykrige

scikit-learn is an optional dependency needed for parameter tuning and regression kriging. matplotlib is an optional dependency needed for plotting.

If you use conda, PyKrige can be installed from the conda-forge channel with,

.. code:: bash

conda install -c conda-forge pykrige

Features ^^^^^^^^

Kriging algorithms

  • OrdinaryKriging: 2D ordinary kriging with estimated mean
  • UniversalKriging: 2D universal kriging providing drift terms
  • OrdinaryKriging3D: 3D ordinary kriging
  • UniversalKriging3D: 3D universal kriging
  • RegressionKriging: An implementation of Regression-Kriging

Wrappers

  • rk.Krige: A scikit-learn wrapper class for Ordinary and Universal Kriging

Tools

  • kriging_tools.write_asc_grid: Writes gridded data to ASCII grid file (*.asc)
  • kriging_tools.read_asc_grid: Reads ASCII grid file (*.asc)

Kriging Parameters Tuning

A scikit-learn compatible API for parameter tuning by cross-validation is exposed in sklearn.model_selection.GridSearchCV <http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html>. See the Krige CV <http://pykrige.readthedocs.io/en/latest/examples/08_krige_cv.html#sphx-glr-examples-08-krige-cv-py> example for a more practical illustration.

Regression Kriging

Regression kriging <https://en.wikipedia.org/wiki/Regression-Kriging>_ can be performed with pykrige.rk.RegressionKriging <http://pykrige.readthedocs.io/en/latest/examples/07_regression_kriging2d.html>_. This class takes as parameters a scikit-learn regression model, and details of either either the OrdinaryKriging or the UniversalKriging class, and performs a correction steps on the ML regression prediction.

A demonstration of the regression kriging is provided in the corresponding example <http://pykrige.readthedocs.io/en/latest/examples/07_regression_kriging2d.html#sphx-glr-examples-07-regression-kriging2d-py>_.

License ^^^^^^^

PyKrige uses the BSD 3-Clause License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].