Skip to main content

COPOD and ECOD implementation using Polars

Project description

custom-pyod

High-performance outlier detection algorithms using Polars.

Features

  • COPOD: Copula-Based Outlier Detection
  • ECOD: Empirical Cumulative Distribution Based Outlier Detection
  • Built on Polars for high performance
  • Compatible with scikit-learn API

Installation

pip install custom-pyod

Quick Start

from custom_pyod.models import COPOD, ECOD
import polars as pl

# Load your data as a Polars DataFrame
df = pl.DataFrame({
    'feature1': [1, 2, 3, 100],
    'feature2': [1, 1, 1, 50]
})

# COPOD
copod = COPOD()
outlier_scores = copod.fit_predict(df)

# ECOD
ecod = ECOD()
outlier_scores = ecod.fit_predict(df)

License

MIT 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

custom_pyod-0.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

custom_pyod-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: custom_pyod-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for custom_pyod-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e80266c3e588a512c9919b356d89d60fc6236206714d9803658748d108514832
MD5 065881aee301f489d8def671e4b109cf
BLAKE2b-256 c0dad4bd6f3abd28b54c3210676b5413269da5dfbe3026df3c4fa246efff09d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: custom_pyod-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for custom_pyod-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fe5bf0ca8712c43b07cc3d373c95c72b13a90b5f6a3979c07447e79874fe79e
MD5 7c8495b9ecf5bf111e33a7fbbeec4135
BLAKE2b-256 25242d23ee0b542f55d642e1a2e12625240cee0a83b660a98bf59a33513e1bed

See more details on using hashes here.

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