Code Monkey home page Code Monkey logo

kernel_inference's Introduction

kernel_inference

Python code for kernel inference - optimal estimation of covariance functions. This repository provides basic functions, tutorials, figures related to estimation of covariance functions.

Code and figures are meant as supplementaries the paper "Inference of instationary covariance functions for optimal estimation in spatial statistics" by Jemil Butt, Andreas Wieser, and Josef Teichmann. The repository consists of three separate folders whose contents offer different functionality.

The root folder contains the python functions necessary to execute kernel inference, the determination of a covariance function maximizing an objective function featuring losses derived from discrepancies to observed data and a prior regularization term. The file "KI.py" contains those maximization algorithms separated into two cases differing by their complexity, whereas the file "Support_funs.py" contains auxiliary numerical functions.

The two folders "Tutorial_examples" and "Figures" contain material for recreating figures and illustrating the process and results of kernel inference. In the folder "Tutorial_examples", 8 examples of increasing complexity can be found in form of executable python code. Starting from an inference problem featuring simple observations of a one-dimensional stochastic process, nonzero means, linear constraints and inhomogeneous observation types are successively added. In the folder "Figures", executable python code may be found, that allows recreating the figures and tables presented in the aforementioned paper. Further code is provided, it allows creating figures for the 6 specific kernel_inference examples listed in the applications-section of the paper.

The folder "Data" contains data necessary to calculate some of the root-mean-square errors provided by the table detailing performance results.

The code is provided with the sole intent being useful in education and teaching and we hope, it will be found to be useful. Although we took care to provide clean and well-documented programs, no guarantees as with respect to its correctness can be given and we are aware of a number of numerical instabilities and fail-cases.

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.