R Under development (unstable) (2026-03-13 r89618 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(predictset) > > test_check("predictset") -- Conformal Method Comparison ------------------------------------------------- * split: coverage = 0.88, mean width = 1.585, time = 0s * cv: coverage = 0.94, mean width = 1.805, time = 0.03s -- Adaptive Conformal Inference ------------------------------------------------ * Target coverage: "90%" * Observations: 50 * Learning rate (gamma): 0.01 * Empirical coverage: "94%" * Alpha range: [0.081, 0.1] -- Conformal Prediction Model Specification ------------------------------------ * Type: "regression" -- Conformal Prediction Intervals (Split Conformal) ---------------------------- * Coverage target: "90%" * Training: 50 | Calibration: 50 | Predictions: 20 * Conformal quantile: 1.0539 * Median interval width: 2.1077 -- Conformal Prediction Sets (Least Ambiguous Classifier) ---------------------- * Coverage target: "90%" * Classes: "A, B" * Training: 100 | Calibration: 100 | Predictions: 30 * Median set size: 1 | Mean set size: 1.3 -- Summary: Split Conformal ---------------------------------------------------- * Coverage target: "90%" * Number of predictions: 20 * Training observations: 50 * Calibration observations: 50 Interval widths: Min: 2.1077 Q1: 2.1077 Med: 2.1077 Q3: 2.1077 Max: 2.1077 Calibration scores: Min: 0.007 Med: 0.4083 Max: 1.4324 Conformal quantile: 1.0539 -- Summary: Least Ambiguous Classifier ----------------------------------------- * Coverage target: "90%" * Classes: "A, B" * Number of predictions: 30 * Training observations: 100 * Calibration observations: 100 Set sizes: Min: 1 Med: 1 Max: 2 Mean: 1.3 Set size distribution: Size 1: 21 (70%) Size 2: 9 (30%) [ FAIL 0 | WARN 1 | SKIP 0 | PASS 323 ] [ FAIL 0 | WARN 1 | SKIP 0 | PASS 323 ] > > proc.time() user system elapsed 16.84 0.90 17.73