Online evolutionary Spiking Neural Network unsupervised anomaly detector
Description
Python implementation of OeSNN-UAD model. Model finds anomalies in one dimensional data streams. Theoretical basics about this model could be find here: https://arxiv.org/pdf/1912.08785.pdf.
Dependencies
- numpy
- PyEMD (pip install EMD-signal)
Package instalation
To install package for python you should type in terminal:
pip install OeSNN-AD
Usage
Our model require from data stream to be numpy array. Additional model parameters are passed as arguments in object constructor.
The following code snippet shows package basic usage.
from oesnn_ad import OeSNNAD
import numpy as np
data_stream = np.array([1, 2, 3, 4, 5])
model = oesnn_ad(data_stream)
results = model.predict()
Parameters
The following table shows model parameters and their values range.
| Parameter | Default value | Minimal value | Maximum value |
|---|---|---|---|
| window_size | 100 | 1 | - |
| num_in_neurons | 10 | 1 | - |
| num_out_neurons | 50 | 1 | - |
| ts_factor | 1000 | 0 | - |
| mod | 0.6 | 0 | 1 |
| c_factor | 0.6 | 0 | 1 |
| epsilon | 2 | 2 | - |
| ksi | 0.9 | 0 | 1 |
| sim | 0.15 | 0 | - |
| beta | 1.6 | 0 | - |
Metadata
Release files for OeSNN-AD 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| OeSNN-AD-1.0.1.tar.gz | 13.2 kB | Without provenance | Details for OeSNN-AD-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| OeSNN_AD-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for OeSNN_AD-1.0.1-py3-none-any.whl |
Total release size: 31.6 kB
Release files / OeSNN-AD-1.0.1.tar.gz
| Download URL | OeSNN-AD-1.0.1.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
841a4d09286fa0f98812ea8445444e06f0fcc4d90ccbb3aca92b9b323f523789
|
|
BLAKE2b-256 checksum How to use checksums |
a442f614a49315e1b4e5a1f5ea590e8897f5cd6ea3e546399c80bbcc2d4d51a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / OeSNN_AD-1.0.1-py3-none-any.whl
| Download URL | OeSNN_AD-1.0.1-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f74279bf9f91810305bda83851be353e3eac86ef73bc27b69c67d4739096ee48
|
|
BLAKE2b-256 checksum How to use checksums |
711e281b55c78cc3df76c8fd3205ce6a71db687443cfa54144986ce384832647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for OeSNN-AD 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.