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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Concentration Free Outlier Factor-0.3.1.tar.gz.
File metadata
- Download URL: Concentration Free Outlier Factor-0.3.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fceca6c70c9c689bca570d515df8e8c81df50d193dc24c1cdc4239988718a1b8
|
|
| MD5 |
74a62f77cd467af8b4b4a0ffbb65d454
|
|
| BLAKE2b-256 |
82e1e3fc2055e2c158bb706e57aa5bf631babf771aed766e81e17238ddf012f9
|
File details
Details for the file Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl.
File metadata
- Download URL: Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f2f2b27120a5c56926653d24504bc7d4774f243510ede9e278a8e45f0a32945
|
|
| MD5 |
ca3ea4d004e841fe85838d92093460c1
|
|
| BLAKE2b-256 |
b0f69473351079c90778811e73a79a356388c26569cface3eb27e3c0a153a48b
|