Skip to main content

Uniform Error Estimator (UEE): minimax / Chebyshev regression with diagnostics and bootstrap inference

Project description

Uniform Error Estimator

Uniform Error Estimator (UEE) is a Python implementation of minimax (Chebyshev / L∞) regression:

[ \min_eta \max_t |y_t - X_t eta| ]

  • Pypi package: 'uee'
  • Source repository: 'uniform-error-estimator'

The package provides:

  • a clean estimator API (UEE)
  • rich fit diagnostics (UEEResults)
  • bootstrap inference
  • optional intercept handling
  • active-set and dual-weight diagnostics

Installation

pip install uee

Quick start

import numpy as np
from uee import UEE

X = np.array(\\\[\\\[1.0], \\\[2.0], \\\[3.0], \\\[4.0]])
y = np.array(\\\[2.1, 4.0, 5.9, 8.2])

model = UEE(fit\\\_intercept=True)
res = model.fit(X, y)

print(res.intercept\\\_)
print(res.coef\\\_)
print(res.max\\\_abs\\\_error)
print(res.active\\\_set)

Package status

This repository/package is the maintained, packaged version of UEE. If you previously exposed a raw script or notebook implementation, update that legacy location to point users here.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uee-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uee-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file uee-0.1.0.tar.gz.

File metadata

  • Download URL: uee-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for uee-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b6ce41dbbf1524fed0339b30bf0be1eb6ec3061e17c3b2dfd784b009b873d790
MD5 68983a45529883487436cdbb26484ca6
BLAKE2b-256 7fda9acfb5142d9bedaf07aa205d8d0edb92021be9b1f91fb7dfce4d73701201

See more details on using hashes here.

Provenance

The following attestation bundles were made for uee-0.1.0.tar.gz:

Publisher: publish.yml on PPenelle/uniform-error-estimator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file uee-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: uee-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for uee-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c0eadd2da698a281238ac2b669f79562262c33a57024caf7d2fdd2db9ad27fa
MD5 200420da50d9af5a6393a0cdd1be3ef5
BLAKE2b-256 464325f4e87fd5b61106ccb094e1c553d1a7b0b12e48e8235d3a85a4b71bcf43

See more details on using hashes here.

Provenance

The following attestation bundles were made for uee-0.1.0-py3-none-any.whl:

Publisher: publish.yml on PPenelle/uniform-error-estimator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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