This is the full class and function references of tick. Please look at the modules documentation cited below for more examples and use cases, since direct class and function API is not enough for understanding their uses.
This module provides tools for the inference and simulation of Hawkes processes.
User guide: tick.hawkes
|
Hawkes process learner for exponential kernels with fixed and given decays, with many choices of penalization and solvers. |
|
Hawkes process learner for sum-exponential kernels with fixed and given decays, with many choices of penalization and solvers. |
|
This class is used for performing non parametric estimation of multi-dimensional Hawkes processes based on expectation maximization algorithm. |
|
A class that implements parametric inference for Hawkes processes with an exponential parametrisation of the kernels and a mix of Lasso and nuclear regularization |
|
This class is used for performing non parametric estimation of multi-dimensional Hawkes processes based on expectation maximization algorithm and the hypothesis that kernels are linear combinations of some basis kernels. |
|
A class that implements parametric inference for Hawkes processes with parametrisation of the kernels as sum of Gaussian basis functions and a mix of Lasso and group-lasso regularization |
|
This class is used for performing non parametric estimation of multi-dimensional marked Hawkes processes based on conditional laws. |
|
This class is used for performing non parametric estimation of multi-dimensional Hawkes processes based cumulant matching. |
|
A function depending on time. |
|
Hawkes kernel with exponential decay |
|
Hawkes kernel with sum exponential decays |
|
Hawkes kernel for power law |
|
Hawkes kernel defined by an arbitrary time function. |
|
Homogeneous Poisson process simulation |
|
Inhomogeneous Poisson process simulation |
|
Hawkes process simulation |
|
Hawkes process with exponential kernels simulation |
|
Hawkes process with sum-exponential kernels simulation |
|
Parallel simulations of a single Hawkes simulation |
|
Hawkes process model exponential kernels with fixed and given decay. |
|
Hawkes process model exponential kernels with fixed and given decays. |
|
Hawkes process model for sum of exponential kernels with fixed and given decays. |
|
Hawkes process model for sum-exponential kernels with fixed and given decays. |
This modules provides tools for the inference and simulation of generalized linear models.
User guide: tick.linear_model
|
Linear regression learner, with many choices of penalization and solvers. |
|
Logistic regression learner, with many choices of penalization and solvers. |
|
Poisson regression learner, with exponential link function. |
|
Least-squares loss for linear regression. |
|
Logistic regression model for binary classification. |
|
Poisson regression model with identity or exponential link for data with a count label. |
|
Hinge loss model for binary classification. |
|
Smoothed hinge loss model for binary classification. |
|
Quadratic hinge loss model for binary classification. |
|
Simulation of a Linear regression model |
|
Simulation of a Logistic regression model |
|
Simulation of a Poisson regression model, with identity or exponential link. |
This module provides tools for robust inference, namely outliers detection and models such as Huber regression, among others robust losses.
User guide: tick.robust
|
Robust linear regression learner. |
|
Robust estimation of the standard deviation, based on the Corrected Median Absolute Deviation (MAD) of x. |
|
Robust estimation of the standard deviation, based on the inter-quartile (IQR) distance of x. |
|
Huber loss for robust regression. |
|
Modified hinge loss model for binary classification. |
|
Absolute value (L1) loss for linear regression. |
|
Epsilon-Insensitive loss for robust regression. |
|
Linear regression model with individual intercepts. |
This module provides tools for inference and simulation for survival analysis.
User guide: tick.survival
|
Cox regression learner, using the partial Cox likelihood for proportional risks, with many choices of penalization. |
|
Computes the Nelson-Aalen cumulative hazard rate estimation given by: |
|
Computes the Kaplan-Meier survival function estimation given by: |
Partial likelihood of the Cox regression model (proportional hazards). |
|
|
Discrete-time Self Control Case Series (SCCS) likelihood. |
|
Simulation of a Cox regression for proportional hazards |
This module contains all the proximal operators available in tick.
User guide: See the tick.prox section for further details.
|
Proximal operator of the null function (identity) |
|
Proximal operator of the L1 norm (soft-thresholding) |
|
Proximal operator of the weighted L1 norm (weighted soft-thresholding) |
|
Proximal operator of the ElasticNet regularization. |
|
Proximal operator of the squared L2 norm (ridge penalization) |
|
Proximal operator of the L2 penalization. |
|
Multiple proximal operator. |
|
Proximal operator of the nuclear norm, aka trace norm |
|
Projection operator onto the half-space of vectors with non-negative entries |
|
Projection operator onto the set of vector with all coordinates equal (or in the given range if given one). |
|
Proximal operator of Slope penalization. |
|
Proximal operator of the total-variation penalization |
|
Proximal operator of binarsity. |
|
Proximal operator of group-L1, a.k.a group-Lasso. |
This module contains all the solvers available in tick.
User guide: See the tick.solver section for further details.
|
Proximal gradient descent |
|
Accelerated proximal gradient descent |
|
Broyden, Fletcher, Goldfarb, and Shanno algorithm |
|
Generalized Forward-Backward algorithm |
|
Self-Concordant Proximal Gradient descent |
|
Stochastic gradient descent solver |
|
Adaptive stochastic gradient descent solver |
|
Stochastic Variance Reduced Gradient solver |
|
Stochastic Average Gradient solver, for the minimization of objectives of the form |
|
Stochastic Dual Coordinate Ascent |
A class to manage the history along iterations of a solver |
This module contains basic tools from simulation.
User guide: See the tick.simulation section for further details.
|
Sparse and exponential model weights generator |
|
Sparse and gaussian model weights generator Instance of weights for a model, given by a sparse vector, where non-zero coordinates (chosen at random) are centered Gaussian with given standard-deviation |
Normal features generator with uniform covariance |
|
Normal features generator with toeplitz covariance |
This module contains some utilities functions for plotting.
User guide: See the tick.plot section for further details.
|
Plot the history of convergence of learners or solvers. |
|
Generic function to plot Hawkes kernels. |
|
Generic function to plot Hawkes kernel norms. |
|
Function used to plot basis of kernels |
|
Quick plot of a |
|
Plot point process realization |
|
Plot several stem plots using either matplotlib or bokeh rendering. |
This module provides easy access to some datasets used as benchmarks in tick
.
User guide: See the tick.dataset section for further details.
|
Fetch dataset from tick_datasets github repository. |
Load Hawkes formatted bund data from https://github.com/X-DataInitiative/tick-datasets/tree/master/hawkes/bund |
This module contains some utilities functions for preprocessing of data.
User guide: See the tick.preprocessing section for further details.
|
Transforms continuous data into bucketed binary data. |
Transforms longitudinal exposure features to add the corresponding product features. |
|
Transforms longitudinal exposure features to add columns representing lagged features. |
This module contains some functions to compute some metrics that help evaluate the performance of learning techniques.
User guide: See the tick.metrics section for further details.
|
Computes the False Discovery Proportion for selecting the support of x_truth using x, namely the proportion of false positive among all detected positives, given by FP / (FP + TP). |
|
Computes proportion of true positives (TP) among the number ground truth positives (namely TP + FN, where FN is the number of false negatives), hence TP / (TP + FN). |