Registry / ai-ml / hawkesbook

hawkesbook

JSON →
library0.1.0pypypi✓ verified 79d ago

A Python package implementing Hawkes process methods for inference, simulation, and related calculations. Version 0.1.0, early development stage.

pip install hawkesbook
INSTALL
IMPORT
SIG · HAWKESBOOK
H
hawkesbook
ai-mlpythonv0.1.0
Install
10.7s avg
Import
Disk
411MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 10.7s · import 0.000s · 410MB
411MB installed
● package 411MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

exp_simulate_by_thinning
from hawkesbook import exp_simulate_by_thinning
from hawkesbook.simulate import SimulateHawkes
exp_mle
from hawkesbook import exp_mle
exp_log_likelihood
from hawkesbook import exp_log_likelihood

Simulate a univariate Hawkes process with exponential kernel and print event times.

from hawkesbook.simulate import SimulateHawkes import numpy as np # Simulate a Hawkes process sim = SimulateHawkes(mu=1.0, alpha=0.5, beta=2.0) times = sim.simulate(T=10.0) print(times)
Debug
Known issues
gotchaVersion 0.1.0 is very early; API may change without notice.
fix
Pin to exact version in requirements.
affects: 0.1.x
gotchaNo documentation or type stubs yet; rely only on source code.
fix
Read the source on GitHub for correct usage.
affects: 0.1.0
Upgrade
Version history
0.1.0latest on PyPI · released Jun 16, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hawkesbook — pip install hawkesbook · libregistry