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

Uploaded CPython 3.13Windows x86-64

tick-0.8.0.1-cp313-cp313-manylinux_2_28_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

tick-0.8.0.1-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.1-cp313-cp313-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

tick-0.8.0.1-cp312-cp312-manylinux_2_28_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

tick-0.8.0.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

tick-0.8.0.1-cp311-cp311-manylinux_2_28_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

tick-0.8.0.1-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.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: tick-0.8.0.1-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.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2c8dbe801bf6840a4b2c9174ae8e06f657003f5a7d660a6f8a5b9ff27a68310c
MD5 35d23b9473469e812bd6ecaf90fbc57f
BLAKE2b-256 893a3fae4f530608846efe8d188a1fbf5c4ed599bf9aea48e0fffc7ed43351c2

See more details on using hashes here.

File details

Details for the file tick-0.8.0.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 adc1f4abb36bd53df42391660535e53df008b0876a21d7323e4414ba7e14d6f4
MD5 82b87ca1a665b6a5d22224be1915bf98
BLAKE2b-256 910fb0029dfe1a9bce9059981a76c94d4a9d96d61c043568ea68b8be313e4916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tick-0.8.0.1-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 f90afc4827101150b85645d2b288462d5094bcc6e4b06fe003109139203dcc60
MD5 aa2c663b99e8e60d676c295a2ba12000
BLAKE2b-256 f0a51aba704ab94115be62d4205c91f6854ecedd07f21843cdcde4d5616df662

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tick-0.8.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d1ccd154741308e77503af08e1b2016f495a63a71ee7dc593e0b412eb130ed2
MD5 ac163b85d2b101714c46f4be2b90319a
BLAKE2b-256 0a79228390520aaceb0cc26769e732be38a0716b9461b2bab7b6006276cec9f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tick-0.8.0.1-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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c3d225b6da380c0fef6f1945a7160ba1fa7246cac5086f8afa0f8c9e87cad060
MD5 91c5b1e7b56699495ba335deffe76a63
BLAKE2b-256 f7e4efb7469953df41e31bcd0c4bdae6261efb7ff735202e82cde07b8490d345

See more details on using hashes here.

File details

Details for the file tick-0.8.0.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25f7507659925a5f77189e50fb0e9bf571e023342aaad0dd89560bf9b60f2529
MD5 ccb95d18eb70a29d4d33ab8b2231027c
BLAKE2b-256 f72abd1c3b4d7be60d21f10070e7b96771ef3f6310c594b4738591792d975a89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tick-0.8.0.1-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2e9dd2db8eb747c9dbb85bb7c3a00e7334a2494c9cf9051e1008220c07503c1b
MD5 6baf3130911f472d16e6d38b2f28535c
BLAKE2b-256 a3564920438496c3af147d565c340f11a42d3a7aa09483300823d19dc5f3d19b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tick-0.8.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82d1aedd4fa1f178d8684fde9a5368d2ad6d78735d3f86efb41678ee5c107709
MD5 f95aec0fcc3e2ff7ed30dcf70db99eee
BLAKE2b-256 36e4c9b19ead831d570cf015fff6e09cf4b8693586a542fce1c99bbfb9427704

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tick-0.8.0.1-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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9aa1dca886a3c767165d8a1c756f694680a6b8c12793bdb86a72a7f7b6d88b7a
MD5 4d645333cca5ce373f49971ef437a502
BLAKE2b-256 ea002eae20d77ad62a928d2ac7fec302cb4fcc2cc9b69b0a255cf0bf85db4ba8

See more details on using hashes here.

File details

Details for the file tick-0.8.0.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tick-0.8.0.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e42f39560daa0d87b44e857cc82b98dcd6e80b1162d550d526d1f0ed94c19f2
MD5 ec75ee3b3f2c53e41e73ec9323ce915b
BLAKE2b-256 0e2e9e70b4c1b23d999bc5a78e71ffb3f0ba9a434e9a064cf8356da6b7ede561

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tick-0.8.0.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 675a0a0babdf8fbd1acf23fdf012c9ba0fcd4f8676b71782f476ba007a7cf290
MD5 10dc30f6833707f10f1a3184343bddeb
BLAKE2b-256 dd20373e7c37fdefcec762944f3e7b4252654909c36a0f032c4f2ab51103aafd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tick-0.8.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b78595075465d0a07a059cf540229843811ba7f069ae48cd6c0c87b0f4a72c81
MD5 4e82cab6c15a35cc500aed7072882600
BLAKE2b-256 139f9e7abc1bdeaa9b9dbf7c70fb0cc54bd6f657673cf910d48f7d4fd16a894b

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