jrcf


Namejrcf JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryAWS's Java Rancom Cut Forest
upload_time2024-11-16 05:54:12
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseApache-2.0
keywords rcf random-cut-forest anomaly-detection
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # JRCF

Java Random Cut Forest

https://github.com/aws/random-cut-forest-by-aws 저장소의 `python_rcf_wrapper`를 참고하여 파이썬에서 실행할 수 있도록 구성한 Random Cut Forest 알고리즘입니다.

## Requirements

- Java 8 or later

## Installation

```sh
pip install jrcf
```

## Usage

```python
import numpy as np
from tqdm.auto import tqdm

from jrcf.rcf import RandomCutForestModel

dim = 5
forest = RandomCutForestModel(dimensions=dim)
TEST_DATA = np.random.normal(size=(100000, dim))

for point in tqdm(TEST_DATA):
    score = forest.score(point)
    forest.update(point)

pp = [999] * dim
print(forest.score(pp))
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "jrcf",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "rcf, random-cut-forest, anomaly-detection",
    "author": null,
    "author_email": "Dowon <ks2515@naver.com>",
    "download_url": "https://files.pythonhosted.org/packages/10/43/49affd6a379e6fd7077d72c6a30426c4fcd40ab41906004b916e48020a5e/jrcf-0.3.0.tar.gz",
    "platform": null,
    "description": "# JRCF\n\nJava Random Cut Forest\n\nhttps://github.com/aws/random-cut-forest-by-aws \uc800\uc7a5\uc18c\uc758 `python_rcf_wrapper`\ub97c \ucc38\uace0\ud558\uc5ec \ud30c\uc774\uc36c\uc5d0\uc11c \uc2e4\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \uad6c\uc131\ud55c Random Cut Forest \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4.\n\n## Requirements\n\n- Java 8 or later\n\n## Installation\n\n```sh\npip install jrcf\n```\n\n## Usage\n\n```python\nimport numpy as np\nfrom tqdm.auto import tqdm\n\nfrom jrcf.rcf import RandomCutForestModel\n\ndim = 5\nforest = RandomCutForestModel(dimensions=dim)\nTEST_DATA = np.random.normal(size=(100000, dim))\n\nfor point in tqdm(TEST_DATA):\n    score = forest.score(point)\n    forest.update(point)\n\npp = [999] * dim\nprint(forest.score(pp))\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "AWS's Java Rancom Cut Forest",
    "version": "0.3.0",
    "project_urls": {
        "Repository": "https://github.com/Bing-su/jrcf"
    },
    "split_keywords": [
        "rcf",
        " random-cut-forest",
        " anomaly-detection"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd596c18b77f483b134fbb76a5c923bf90ad4f4605d34e072433fad79bc2eb2b",
                "md5": "26375121243f33d0a2fc575ef4bf5efa",
                "sha256": "028f5b0667eea1e8eb0011f7c75f197a412ae244b775bd97aebd9482acceec6d"
            },
            "downloads": -1,
            "filename": "jrcf-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26375121243f33d0a2fc575ef4bf5efa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 2540962,
            "upload_time": "2024-11-16T05:54:09",
            "upload_time_iso_8601": "2024-11-16T05:54:09.796676Z",
            "url": "https://files.pythonhosted.org/packages/bd/59/6c18b77f483b134fbb76a5c923bf90ad4f4605d34e072433fad79bc2eb2b/jrcf-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "104349affd6a379e6fd7077d72c6a30426c4fcd40ab41906004b916e48020a5e",
                "md5": "107368de91923d5204abe8cd30e9c9cb",
                "sha256": "e3d8a67535ee427ead27ae37d5363c72c5181db8b2f53948a98bc6bbfd09afd0"
            },
            "downloads": -1,
            "filename": "jrcf-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "107368de91923d5204abe8cd30e9c9cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 2544704,
            "upload_time": "2024-11-16T05:54:12",
            "upload_time_iso_8601": "2024-11-16T05:54:12.342698Z",
            "url": "https://files.pythonhosted.org/packages/10/43/49affd6a379e6fd7077d72c6a30426c4fcd40ab41906004b916e48020a5e/jrcf-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-16 05:54:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Bing-su",
    "github_project": "jrcf",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "jrcf"
}
        
Elapsed time: 1.39742s