Skip to main content

PyPI version Gitter chat License

Operating system Build Status
Linux/Mac Linux/Mac Build
Windows Windows Build

tick

tick is a Python 3 module for statistical learning, with a particular emphasis on time-dependent modeling. It is distributed under the 3-Clause BSD license, see LICENSE.txt.

The project was started in 2016 by Emmanuel Bacry, Martin Bompaire, Stéphane Gaïffas and Søren Vinther Poulsen at the Datascience initiative of École Polytechnique, France. The list of contributors is available in CONTRIBUTORS.md.

Quick description

tick is a machine learning library for Python 3. The focus is on statistical learning for time dependent systems, such as point processes. Tick features also tools for generalized linear models and a generic optimization toolbox. The core of the library is an optimization module providing model computational classes, solvers and proximal operators for regularization. It comes also with inference and simulation tools intended for end-users who for example can easily:

  • Perform linear, logistic or Poisson regression
  • Simulate point Hawkes processes with standard or exotic kernels.
  • Infer Hawkes models with various assumptions on the kernels: exponential or sum of exponential kernels, linear combination of basis kernels, sparse interactions, etc.

A comprehensive list of examples can be found at

and the documentation is available at

The paper associated to this library has been published at

If you use tick in a scientific publication, we would appreciate citations.

intel logo The tick library is released with the support of Intel®. It uses the Intel® Math Kernel Library (MKL) optimized for Intel® Xeon Phi™ and Intel® Xeon™ processors. tick runs efficiently on everything from desktop computers to powerful high-performance servers.

Use cases

tick is used for many industrial applications including:

  • A joint work with the French national social security (CNAMTS) to analyses a huge health-care database, that describes the medical care provided to most of the French citizens. For this project, tick is used to detect weak signals in pharmacovigilance, in order quantify the impact of drugs exposures to the occurrence of adverse events.

  • High-frequency order book modeling in finance, in order to understand the interactions between different event types and/or between different assets, leveraging the full time resolution available in the original data.

  • Analyze the propagation of information in social media. Thanks to a dataset collected during 2017's presidential French election campaign on Twitter, tick is used to recover, for each topic, the network across which information spreads inside the political sphere.

Quick setup

Requirements

tick currently works on Linux/OSX (Windows is experimental) systems and requires Python 3.5 or newer. Please have the required Python dependencies in your Python environment:

Install using pip

tick is available via pip. In your local Python environment (or global, with sudo rights), do:

pip install tick

Installation may take a few minutes to build and link C++ extensions. At this point tick should be ready to use available (if necessary, you can add tick to the PYTHONPATH as explained below).

Verify install

Run the following command and there should be no error

python3 -c "import tick;"

Source Installation

Please see the INSTALL document

Help and Support

Documentation

Documentation is available on

This documentation is built with Sphinx and can be compiled and used locally by running make html from within the doc directory. This obviously needs to have Sphinx installed. Several tutorials and code-samples are available in the documentation.

Communication

To reach the developers of tick, please join our community channel on Gitter (https://gitter.im/xdata-tick).

If you've found a bug that needs attention, please raise an issue here on Github. Please try to be as precise in the bug description as possible, such that the developers and other contributors can address the issue efficiently.

Citation

If you use tick in a scientific publication, we would appreciate citations. You can use the following bibtex entry:

@ARTICLE{2017arXiv170703003B,
  author = {{Bacry}, E. and {Bompaire}, M. and {Ga{\"i}ffas}, S. and {Poulsen}, S.},
  title = "{tick: a Python library for statistical learning, with
    a particular emphasis on time-dependent modeling}",
  journal = {ArXiv e-prints},
  eprint = {1707.03003},
  year = 2017,
  month = jul
}

Developers

Please see the CONTRIBUTING document

Release files for tick 0.8.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for tick 0.8.0.2
File
tick-0.8.0.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
tick-0.8.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
tick-0.8.0.2-cp314-cp314-macosx_11_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 11.0+ x86-64 Details
tick-0.8.0.2-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
tick-0.8.0.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
tick-0.8.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
tick-0.8.0.2-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details
tick-0.8.0.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
tick-0.8.0.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
tick-0.8.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
tick-0.8.0.2-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details
tick-0.8.0.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
tick-0.8.0.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
tick-0.8.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
tick-0.8.0.2-cp311-cp311-macosx_11_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 11.0+ x86-64 Details
tick-0.8.0.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 106.9 MB

Release files / tick-0.8.0.2-cp314-cp314-win_amd64.whl

Download URL tick-0.8.0.2-cp314-cp314-win_amd64.whl
Size 5.6 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
42761285cd8cdac78e1516cc0e04c7a8bc0d4b79be4d294c9c7c3ff34558e091
BLAKE2b-256 checksum
How to use checksums
4c676db5db2045d9e1db2532bbda23fa1f5739916d7458e84123addef6b3180e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tick-0.8.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 7.2 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
63da4341d251bba6fc3b6e8d6eab1a1ad1e791d61e35499f658d41c087670b75
BLAKE2b-256 checksum
How to use checksums
ab6f2fb6e5628d3e71f92c4a81fa9a646fa9f00d4f987969f2962dd6f148d7cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp314-cp314-macosx_11_0_x86_64.whl

Download URL tick-0.8.0.2-cp314-cp314-macosx_11_0_x86_64.whl
Size 7.3 MB
Tags CPython 3.14 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
2990f97f47c55c43be0050559ea03e597b4c17f6146c85040990304752696312
BLAKE2b-256 checksum
How to use checksums
1d2bd9f275f6b78a5a701df356cf56cb7c9e6fcfdf3fe4da8b7046931bc2aac3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp314-cp314-macosx_11_0_arm64.whl

Download URL tick-0.8.0.2-cp314-cp314-macosx_11_0_arm64.whl
Size 6.7 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c416ff928f8babc8ead6fd0a2b491c56d128722eb20c3c6c8e86c4aa46d34cd8
BLAKE2b-256 checksum
How to use checksums
b92bc3b165a92f5a23da0be1741e7a09ea963bf5a4c4aa450fe9404510c67197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp313-cp313-win_amd64.whl

Download URL tick-0.8.0.2-cp313-cp313-win_amd64.whl
Size 5.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
94c4fba07ea3329ea863795681d266d59bbe078accc5b6bf96f5153b10af43aa
BLAKE2b-256 checksum
How to use checksums
2575dd1a14efe0cc146a202250d7697824536a377b392e83d561458c25a14b5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tick-0.8.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 7.2 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
11873300bb1cdf8ebc92731fb06c54874b3722f0abd07ebfdc63f4591a5a48c3
BLAKE2b-256 checksum
How to use checksums
b7547825c1395ed018969213cc72e5594d0669d6f9344294a759020d3c6dfbe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp313-cp313-macosx_11_0_x86_64.whl

Download URL tick-0.8.0.2-cp313-cp313-macosx_11_0_x86_64.whl
Size 7.3 MB
Tags CPython 3.13 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
7dfefa68de01d35b67153b6512742a7b3d5993e426ee3be0e2150f4b242aaa61
BLAKE2b-256 checksum
How to use checksums
b2c17094fc3efba6152ac8fcbf6a518c08a9b30fdd04600f2e9a1e87e3795291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL tick-0.8.0.2-cp313-cp313-macosx_11_0_arm64.whl
Size 6.7 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d34794eaab75bb710e1f4f5d4c5ec627820061199060ef12230b29f6da9238b4
BLAKE2b-256 checksum
How to use checksums
751891954b0e6ea6dd3441af88e80e0926d6bc8598f085f9de840ec6f59ce70a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp312-cp312-win_amd64.whl

Download URL tick-0.8.0.2-cp312-cp312-win_amd64.whl
Size 5.4 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
fd26d6906c9804a5fee744bc4156db6ee32f3d8c4b08b13d34d5637e0ebec778
BLAKE2b-256 checksum
How to use checksums
224d7684063f910b53222c1f7c467e39366a04bb7f76dafe69bd6fd63a8b3b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tick-0.8.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 7.2 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0a490d6d34118d257b3cd25a13c00c617ee63e23e175a22912543a072cf0169a
BLAKE2b-256 checksum
How to use checksums
1db03de915d49fea778ea244e3585b644c760aa5b80e11b3e97566b8493f923a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp312-cp312-macosx_11_0_x86_64.whl

Download URL tick-0.8.0.2-cp312-cp312-macosx_11_0_x86_64.whl
Size 7.3 MB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
e8416d012324282f7ab1f762b09e22964d84ad3e0443151635c710660281f78d
BLAKE2b-256 checksum
How to use checksums
468a00aaeeff1a0bd64a1fd0f7139b5a7403ea683d39229b7be76812f84a41de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL tick-0.8.0.2-cp312-cp312-macosx_11_0_arm64.whl
Size 6.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0b9b6057e23de2a1b46ef482b5be34acd1dead99fe1ff1348d26423db5da2bfc
BLAKE2b-256 checksum
How to use checksums
532f2c3b867c005f0a1c23d78b11fde2c70d6e536347578c51799adecfffb66d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp311-cp311-win_amd64.whl

Download URL tick-0.8.0.2-cp311-cp311-win_amd64.whl
Size 5.4 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
fce74a77cfa8b8ac9b528dc335c2e1d5db21c534cec432f809b7d8acae193a0d
BLAKE2b-256 checksum
How to use checksums
7633481eb942f91b9c7b8e79f117f800e0cea5517086bde7f96198a94655b321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL tick-0.8.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 7.2 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3d3612399d25e0fe0bdce5505e036e26a8c2e0a971c6df8dd0560dac2cac2b6c
BLAKE2b-256 checksum
How to use checksums
244a1635f54d7c892df8f25e35057d1b311aaf3378684f6901d8e6e9decc6a22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp311-cp311-macosx_11_0_x86_64.whl

Download URL tick-0.8.0.2-cp311-cp311-macosx_11_0_x86_64.whl
Size 7.3 MB
Tags CPython 3.11 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
a1b711113a06e80a94ad419ea56b1a797bea1474c7351c43e5ef04a75c69751e
BLAKE2b-256 checksum
How to use checksums
71b8d1b284dc11d719eadb75f69316cc47749fd3bbe86dc2b00d74bf48d1fc88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / tick-0.8.0.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL tick-0.8.0.2-cp311-cp311-macosx_11_0_arm64.whl
Size 6.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
266efca7ebcd078d8622e66a4098bb551600e960f8a21f2c39a8b1d6656036e0
BLAKE2b-256 checksum
How to use checksums
301a81897c34234603043321b7e8aeedf96b9e072bc81ea856a3e0fd54993917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.8.0.2 This release

16 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page