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.0-cp313-cp313-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.13Windows x86-64

tick-0.8.0.0-cp313-cp313-macosx_15_0_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

tick-0.8.0.0-cp313-cp313-macosx_15_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

tick-0.8.0.0-cp312-cp312-macosx_15_0_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

tick-0.8.0.0-cp312-cp312-macosx_15_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

tick-0.8.0.0-cp311-cp311-macosx_15_0_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

tick-0.8.0.0-cp311-cp311-macosx_15_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: tick-0.8.0.0-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.13.13

File hashes

Hashes for tick-0.8.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b1593ae7098cca97c3b0aac366ede6bef36fe9b8f50cec0800a907b7e59af733
MD5 470bbc72875ff6694061a4e614d4d5d3
BLAKE2b-256 e19ac4986ec6923cd54f2aefc28cc0dfc8c385b6ec070b3b5f9a4e2e278a2d54

See more details on using hashes here.

File details

Details for the file tick-0.8.0.0-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.0-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 144b09622c541381faeecaf13adae73a8711ebe4c1173ef99f49ea46a39c87f9
MD5 6de29f26143925db27bfc9d5fa838f63
BLAKE2b-256 b49442f975d180f727d16290c8c6556065d1592aaca0bcc9b9ca6d2140245544

See more details on using hashes here.

File details

Details for the file tick-0.8.0.0-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 92113ea94cf2a06af749b9f77c05be60943612083e56ed2c9c11b2903654dba5
MD5 0061505b871940f64827710a56adc4f9
BLAKE2b-256 d85a074852a35f659ec9d30d6981abde535161dbc945f3f5f748fe60428bb7b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tick-0.8.0.0-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.10

File hashes

Hashes for tick-0.8.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b3ced18165c5443206ebe3e2a2dc405bff9152eb57c768d07cb7c275041396a4
MD5 39cd116a2e93424ef8fb1659be27cd01
BLAKE2b-256 a2ed4c5786460e43f1f590691d952716e7c4940b331c38a91da0aa6bd9ac148c

See more details on using hashes here.

File details

Details for the file tick-0.8.0.0-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.0-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4c802090495eea7b1c23d6bb78d2c50527d1d3247bb328b6db5b0843cd702328
MD5 73f3eea57ba77e463d454ebab78ba0d6
BLAKE2b-256 9bfe2e668f75cc8c6a541a2b384b2bbfc81511a0b48843e80bfa4d07aa94b9b2

See more details on using hashes here.

File details

Details for the file tick-0.8.0.0-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6db86c60fe8247d5276d480f32e5ddf7c051a320acf74e04af5cfb774ed55d59
MD5 05fb4ab8d12dd73a9b5f396f68521b41
BLAKE2b-256 007e78e0720b1e95a4e3ae503fa8740978e31559befeb18a7c9d6d3418c038dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tick-0.8.0.0-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.11.9

File hashes

Hashes for tick-0.8.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e98ef4cd0d22824d9ed08056f2d09083cf48bd5d066e6e988223b12f5705c2de
MD5 da307d6a6b088e8bb87e91d0da6e608a
BLAKE2b-256 4dbc9eedcc16b03f52c3b788292faa3acd95d4f1e0071ec3599ecfc1e7dbfa6b

See more details on using hashes here.

File details

Details for the file tick-0.8.0.0-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.0-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a8e658a69b366a0a7cf3aab1f509b8de6228549bd956521bc62263146971cfce
MD5 c6f1942b08f43da7acf7c3aaada7583d
BLAKE2b-256 2354dd99862e384e2861c7b9796763042f6e37ae46d7f1fee5cd8c098eabd3a6

See more details on using hashes here.

File details

Details for the file tick-0.8.0.0-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eee8665bc98de9616979f7aaae0acb89db8bb41acff9017349e5165fcf633558
MD5 cccb509f3812d8b5be0bfaf8bec804ea
BLAKE2b-256 24617d88c458bbdf0b15a4064470663b786ce14aedb6359cd1d888feb63b029c

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