Calculate the Concentration Free Outlier Factor score, based on Angiulli's work
Project description
pyCFOF
Pour commencer
Installation
Lancer pip install -r requirements.txt
ou python3 -m pip install -r requirements.txt
.
Ou à partir du dépôt pip install Concentration-Free-Outlier-Factor
.
Utilisation
>>> from pyCFOF import ConcentrationFreeOutlierFactor as CFOF
>>> X = [[-1.1], [0.2], [101.1], [0.3]]
>>> cfof = CFOF(n_neighbors=len(X), rho=[0.1])
>>> cfof.fit_predict(X)
array([[ 1],
[ 1],
[-1],
[ 1]])
>>> cfof.outlier_factor_
array([[0.75],
[0.5 ],
[1. ],
[0.5 ]])
Remerciements
Développements des travaux de :
- Fabrizio Angiulli, CFOF: A Concentration Free Measure for Anomaly Detection. ACM Transactions on Knowledge Discovery from Data (TKDD), 14(1):Article 4, 2020
Utilisation de :
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
Built Distribution
Close
Hashes for Concentration Free Outlier Factor-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fceca6c70c9c689bca570d515df8e8c81df50d193dc24c1cdc4239988718a1b8 |
|
MD5 | 74a62f77cd467af8b4b4a0ffbb65d454 |
|
BLAKE2b-256 | 82e1e3fc2055e2c158bb706e57aa5bf631babf771aed766e81e17238ddf012f9 |
Close
Hashes for Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2f2b27120a5c56926653d24504bc7d4774f243510ede9e278a8e45f0a32945 |
|
MD5 | ca3ea4d004e841fe85838d92093460c1 |
|
BLAKE2b-256 | b0f69473351079c90778811e73a79a356388c26569cface3eb27e3c0a153a48b |