Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 871 Bytes

File metadata and controls

36 lines (24 loc) · 871 Bytes

pyDenStream

master codecov

Implementation of the algorithm Density-Based Clustering over an Evolving Data Stream with Noise in Python.

Installation

pip install denstream

Example usage

import numpy as np
from denstream import DenStream

# Model parameters
eps = 0.3
lambd = 0.1
beta = 0.2
mu = 10
min_samples = 1

model = DenStream(eps, beta, mu, lambd, min_samples)

x = np.array([[1, 2]])
t = 0

model.partial_fit(x, t)

In depth example

A more in depth example of how to use this package is included in examples/user_guide.ipynb.