Result: Online-cp : a Python Package for Online Conformal Prediction, Conformal Predictive Systems and Conformal Test Martingales

Title:
Online-cp : a Python Package for Online Conformal Prediction, Conformal Predictive Systems and Conformal Test Martingales
Publisher Information:
Jönköping University Jönköping University, Jönköping AI Lab (JAIL) Jönköping University, JTH, Avdelningen för datavetenskap ML Research Press 2025
Document Type:
Electronic Resource Electronic Resource
Availability:
Open access content. Open access content
info:eu-repo/semantics/restrictedAccess
Note:
English
Other Numbers:
UPE oai:DiVA.org:hj-69687
0000-0003-0274-9026
0000-0001-5302-7096
Scopus 2-s2.0-105013965466
1541811335
Contributing Source:
UPPSALA UNIV LIBR
From OAIster®, provided by the OCLC Cooperative.
Accession Number:
edsoai.on1541811335
Database:
OAIster

Further Information

Conformal prediction (CP) has gained increasing attention in machine learning owing to its ability to provide reliable prediction sets with well-calibrated uncertainty estimates. While most existing CP implementations focus on inductive conformal prediction (ICP), full conformal prediction—also known as online or transductive CP—offers the strongest validity guarantees but has been largely absent from open-source software due to its computational complexity. In this paper, we introduce online-cp, a Python package designed for online conformal prediction, conformal predictive systems (CPS), and conformal test martingales. The package implements several online CP algorithms, enabling efficient and principled uncertainty quantification in streaming data scenarios. Additionally, it includes tools for testing the exchangeability assumption by using conformal test martingales. We demonstrate the functionality of online-cp through classification and regression examples as well as applications to predictive systems and exchangeability testing. By making online CP methods accessible, online-cp provides a foundation for the broader adoption and further development of conformal prediction in real-time machine learning applications.