Skip to main content

Module for statistical learning, with a particular emphasis on time-dependent modelling

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tick-0.8.0.2-cp314-cp314-win_amd64.whl (5.6 MB view details)

Uploaded CPython 3.14Windows x86-64

tick-0.8.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tick-0.8.0.2-cp314-cp314-macosx_11_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ x86-64

tick-0.8.0.2-cp314-cp314-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

tick-0.8.0.2-cp313-cp313-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.13Windows x86-64

tick-0.8.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tick-0.8.0.2-cp313-cp313-macosx_11_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

tick-0.8.0.2-cp313-cp313-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tick-0.8.0.2-cp312-cp312-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.12Windows x86-64

tick-0.8.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tick-0.8.0.2-cp312-cp312-macosx_11_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

tick-0.8.0.2-cp312-cp312-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tick-0.8.0.2-cp311-cp311-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.11Windows x86-64

tick-0.8.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tick-0.8.0.2-cp311-cp311-macosx_11_0_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

tick-0.8.0.2-cp311-cp311-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file tick-0.8.0.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: tick-0.8.0.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tick-0.8.0.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 42761285cd8cdac78e1516cc0e04c7a8bc0d4b79be4d294c9c7c3ff34558e091
MD5 9b147d6921d8d1425c33bc7bd001215c
BLAKE2b-256 4c676db5db2045d9e1db2532bbda23fa1f5739916d7458e84123addef6b3180e

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63da4341d251bba6fc3b6e8d6eab1a1ad1e791d61e35499f658d41c087670b75
MD5 2e9ec97af256bced9600748aae1bac08
BLAKE2b-256 ab6f2fb6e5628d3e71f92c4a81fa9a646fa9f00d4f987969f2962dd6f148d7cb

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp314-cp314-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp314-cp314-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2990f97f47c55c43be0050559ea03e597b4c17f6146c85040990304752696312
MD5 fc22e7a5beb9973572be9ed278c1662c
BLAKE2b-256 1d2bd9f275f6b78a5a701df356cf56cb7c9e6fcfdf3fe4da8b7046931bc2aac3

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c416ff928f8babc8ead6fd0a2b491c56d128722eb20c3c6c8e86c4aa46d34cd8
MD5 24b5b6507be4d587926d2aa510a16c65
BLAKE2b-256 b92bc3b165a92f5a23da0be1741e7a09ea963bf5a4c4aa450fe9404510c67197

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: tick-0.8.0.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tick-0.8.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 94c4fba07ea3329ea863795681d266d59bbe078accc5b6bf96f5153b10af43aa
MD5 4bd66ed39cad7564e2d11f0b955f4029
BLAKE2b-256 2575dd1a14efe0cc146a202250d7697824536a377b392e83d561458c25a14b5e

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 11873300bb1cdf8ebc92731fb06c54874b3722f0abd07ebfdc63f4591a5a48c3
MD5 59523993fa367cd5427d329d241ae5ad
BLAKE2b-256 b7547825c1395ed018969213cc72e5594d0669d6f9344294a759020d3c6dfbe5

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7dfefa68de01d35b67153b6512742a7b3d5993e426ee3be0e2150f4b242aaa61
MD5 679074ce177a32910d6ba10c88caa4f7
BLAKE2b-256 b2c17094fc3efba6152ac8fcbf6a518c08a9b30fdd04600f2e9a1e87e3795291

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d34794eaab75bb710e1f4f5d4c5ec627820061199060ef12230b29f6da9238b4
MD5 533c5a165a2ac22b94627a42577eeb1f
BLAKE2b-256 751891954b0e6ea6dd3441af88e80e0926d6bc8598f085f9de840ec6f59ce70a

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: tick-0.8.0.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tick-0.8.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fd26d6906c9804a5fee744bc4156db6ee32f3d8c4b08b13d34d5637e0ebec778
MD5 4c178a9492fbb86acc0936cfcfbfeeaf
BLAKE2b-256 224d7684063f910b53222c1f7c467e39366a04bb7f76dafe69bd6fd63a8b3b3b

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0a490d6d34118d257b3cd25a13c00c617ee63e23e175a22912543a072cf0169a
MD5 673e3cddb2f86ed94dce5a87fc0a4da7
BLAKE2b-256 1db03de915d49fea778ea244e3585b644c760aa5b80e11b3e97566b8493f923a

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e8416d012324282f7ab1f762b09e22964d84ad3e0443151635c710660281f78d
MD5 8f39ba02149252044e13c9d8b2a2cbe9
BLAKE2b-256 468a00aaeeff1a0bd64a1fd0f7139b5a7403ea683d39229b7be76812f84a41de

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b9b6057e23de2a1b46ef482b5be34acd1dead99fe1ff1348d26423db5da2bfc
MD5 fbde5fc320284b1f86393d34dafcb874
BLAKE2b-256 532f2c3b867c005f0a1c23d78b11fde2c70d6e536347578c51799adecfffb66d

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: tick-0.8.0.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tick-0.8.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fce74a77cfa8b8ac9b528dc335c2e1d5db21c534cec432f809b7d8acae193a0d
MD5 7ebb50532da5b352ae9876c587ee7205
BLAKE2b-256 7633481eb942f91b9c7b8e79f117f800e0cea5517086bde7f96198a94655b321

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d3612399d25e0fe0bdce5505e036e26a8c2e0a971c6df8dd0560dac2cac2b6c
MD5 37245f25eecbbbe0bd1661a347d9b748
BLAKE2b-256 244a1635f54d7c892df8f25e35057d1b311aaf3378684f6901d8e6e9decc6a22

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a1b711113a06e80a94ad419ea56b1a797bea1474c7351c43e5ef04a75c69751e
MD5 e12813bc78473775856388622922e2cd
BLAKE2b-256 71b8d1b284dc11d719eadb75f69316cc47749fd3bbe86dc2b00d74bf48d1fc88

See more details on using hashes here.

File details

Details for the file tick-0.8.0.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 266efca7ebcd078d8622e66a4098bb551600e960f8a21f2c39a8b1d6656036e0
MD5 485c513e238ca201cb3a1cf0236be50f
BLAKE2b-256 301a81897c34234603043321b7e8aeedf96b9e072bc81ea856a3e0fd54993917

See more details on using hashes here.

Supported by

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