Skip to main content

Empirical Christoffel function for outlier detection

Project description

Empirical Christoffel function for outlier detection

This module is an implementation of the empirical Christoffel function applied to outlier detection as proposed by Lasserre and Pauwels in The empirical Christoffel function with applications in data analysis.

Example

from ecf import EmpiricalChristoffelFunction
import numpy as np

# Initialize the detector with default degree (4)
c = EmpiricalChristoffelFunction()

# Generate random data points
X = np.array([[0,2],[1,1.5],[0.2,1.9],[100,1.2]])

# Predict the outliers
print(c.fit_predict(X))

# Print the scores
print(c.score_)

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

ecf-0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

ecf-0.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page