Skip to main content

PyLOESS

This is a vectorized implementation of LOESS that supports polynomial models. It is fast enough for bootstrap resampling for computing prediction intervals.

Installation

pip install pyloess

Usage

from pyloess import loess

# Generate some data
import numpy as np
np.random.seed(0)

x = np.random.uniform(0, 10, 100)
y = np.sin(x) + np.random.normal(0, 0.1, 100)
x_new = np.linspace(0, 10, 1000)

# Evaluate the loess model
y_new = loess(x, y, eval_x=x_new, span=0.33, degree=2)

Metadata

Release files for pyloess 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 pyloess 0.1.0
File Size Uploaded
pyloess-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

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

Total release size: 7.7 kB

Release files / pyloess-0.1.0.tar.gz

Download URL pyloess-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
344a76ea03930c3acc846efbef274e7c83ce48030f3a6a87975410f3dab3d214
BLAKE2b-256 checksum
How to use checksums
2a6ac967acafd6fb498477148b72c3f9f3c6fb08755cb2ec348a7b0aa1312494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

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

Download URL pyloess-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c4a5378dd07c0d6ce3cfbeb0ee47880d8a48f10821536532d5f7c1f28945fbb
BLAKE2b-256 checksum
How to use checksums
723a7fdc35b57324eba4061c12ba29a7e1c1862d3c5fbcec6cd31d7fcaeb7df2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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