Skip to main content

parameter estimation for simple Hawkes (self-exciting) processes

Project description

Welcome to hawkeslib

Build Status License: MIT Documentation Status Python 2.7 Python 3.6

hawkeslib started with the ambition of having a simple Python implementation of plain-vanilla Hawkes (or self-exciting processes), i.e. those with factorized triggering kernels with exponential decay functions.

The docs contain tutorials, examples and a detailed API reference. For other examples, see the examples/ folder.

The following models are available:

  • Univariate Hawkes Process (with exponential delay)
  • Bayesian Univariate Hawkes Process (with exponential delay)
  • Poisson Process
  • 'Bayesian' Poisson process

Bayesian variants implement methods for sampling from the posterior as well as calculating marginal likelihood (e.g. for Bayesian model comparison).

Installation

Cython (>=0.28) and numpy (>=1.14) and scipy must be installed prior to the installation as they are required for the build.

$ pip install -U Cython numpy scipy
$ pip install hawkeslib

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hawkeslib-0.2.2.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

hawkeslib-0.2.2-cp36-cp36m-macosx_10_13_x86_64.whl (182.9 kB view hashes)

Uploaded CPython 3.6m macOS 10.13+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page