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 :
Metadata
Release files for Concentration-Free-Outlier-Factor 0.3.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 | |
|---|---|---|---|
| Concentration Free Outlier Factor-0.3.1.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / Concentration Free Outlier Factor-0.3.1.tar.gz
| Download URL | Concentration Free Outlier Factor-0.3.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fceca6c70c9c689bca570d515df8e8c81df50d193dc24c1cdc4239988718a1b8
|
|
BLAKE2b-256 checksum How to use checksums |
82e1e3fc2055e2c158bb706e57aa5bf631babf771aed766e81e17238ddf012f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl
| Download URL | Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f2f2b27120a5c56926653d24504bc7d4774f243510ede9e278a8e45f0a32945
|
|
BLAKE2b-256 checksum How to use checksums |
b0f69473351079c90778811e73a79a356388c26569cface3eb27e3c0a153a48b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|