Skip to main content

scikit-extremes

Sparse Structures for Multivariate Extremes

Summary

Core Concept:

The package scikit-extremes is for sparse multivariate extreme value analysis, structure learning, and robust spectral measure estimation

Key Approaches:

  1. Unsupervised Learning for Extremes: Adapting clustering and PCA specifically for the geometry of "extremal angles".
  2. Extremal Graphical Models: Constructing graphs where nodes are variables and edges represent "extremal dependence".
  3. Concomitant Extremes: Automatically detecting subgroups of variables likely to be extreme at the same time.

Installation

pip install scikit-extremes

For development:

git clone https://github.com/yourusername/scikit-extremes.git
cd scikit-extremes
pip install -e .

Features

A. Data Preprocessing & Marginal Transformation

  • to_unit_pareto: Transform arbitrary data to standard Unit Pareto scale.
  • threshold_selection: Tools for selecting the threshold $u$.

B. Empirical Estimation

  • SpectralMeasureEstimator: Fit the empirical spectral measure using Maximum Empirical Likelihood Estimation (MELE).
  • ExtremalCoefficient: Compute $\chi$ and $\eta$ coefficients.

C. Unsupervised Learning for Extremes

  • ExtremalClustering: Spherical K-Means for extremal angles.
  • ExtremalPCA: Dimensionality reduction for extremal angles.

D. Extremal Graphical Models

  • HuslerReissGraph: Estimate the Hüsler-Reiss variogram matrix and infer graph structure.

Usage

(Example usage would go here - refer to documentation for details)

Requirements

  • CPU: Modern dual-core processor.
  • RAM: 8 GB+ recommended.
  • Python: 3.8+
  • Dependencies: numpy, scipy

References

This project incorporates research from the following papers:

  • Maximum empirical likelihood estimation of the spectral measure of an extreme-value distribution John H. J. Einmahl, Johan Segers arXiv:0812.3485

  • Sparse Structures for Multivariate Extremes Sebastian Engelke, Jevgenijs Ivanovs arXiv:2004.12182

Metadata

Release files for scikit-extremes 0.1.0

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

Source distribution (sdist)

Source distribution for scikit-extremes 0.1.0
File Size Uploaded Provenance
scikit_extremes-0.1.0.tar.gz 12.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scikit-extremes 0.1.0
File Interpreter ABI Platform
scikit_extremes-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 kB

Release files / scikit_extremes-0.1.0.tar.gz

Download URL scikit_extremes-0.1.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
140485414cddb368d99ad65392dbd1d406e6cd2f7f83499a1aeb80739a979398
BLAKE2b-256 checksum
How to use checksums
a75b12735bc1334f8918013b65f5e36c694d0b35cafb760872b3844bc89d404e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 28, 2026.

Transparency log

Release files / scikit_extremes-0.1.0-py3-none-any.whl

Download URL scikit_extremes-0.1.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92fa4f847140d4b2ca7fff1c870380c4c78acd98f4fa7f45409ba2ba130c8c86
BLAKE2b-256 checksum
How to use checksums
b1bd48877217f1edc5ee7160286e539702582097def9c205a3d52b330719eec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 28, 2026.

Transparency log

Security for scikit-extremes 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scikit_extremes-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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