Skip to main content

Calculate the Concentration Free Outlier Factor score, based on Angiulli's work

Project description

PyPI

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 :

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

Concentration Free Outlier Factor-0.3.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Hashes for Concentration Free Outlier Factor-0.3.1.tar.gz
Algorithm Hash digest
SHA256 fceca6c70c9c689bca570d515df8e8c81df50d193dc24c1cdc4239988718a1b8
MD5 74a62f77cd467af8b4b4a0ffbb65d454
BLAKE2b-256 82e1e3fc2055e2c158bb706e57aa5bf631babf771aed766e81e17238ddf012f9

See more details on using hashes here.

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

Hashes for Concentration_Free_Outlier_Factor-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f2f2b27120a5c56926653d24504bc7d4774f243510ede9e278a8e45f0a32945
MD5 ca3ea4d004e841fe85838d92093460c1
BLAKE2b-256 b0f69473351079c90778811e73a79a356388c26569cface3eb27e3c0a153a48b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page