JRCF
Java Random Cut Forest
https://github.com/aws/random-cut-forest-by-aws 저장소의 python_rcf_wrapper를 참고하여 파이썬에서 실행할 수 있도록 구성한 Random Cut Forest 알고리즘입니다.
Requirements
- Java 11 or later
Installation
pip install jrcf
Usage
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))
Metadata
Release files for jrcf 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jrcf-0.5.0.tar.gz | 3.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jrcf-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 MB
Release files / jrcf-0.5.0.tar.gz
| Download URL | jrcf-0.5.0.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23d2d4795cce55c6cde1532e0762ddf25adc0ad91b70ca21f305b5909640616a
|
|
BLAKE2b-256 checksum How to use checksums |
9acb46b70fb7d351a6563c5b4a0b6e302aa1222dac9d6c83d8c3281966f321d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 17, 2025.
Transparency logRelease files / jrcf-0.5.0-py3-none-any.whl
| Download URL | jrcf-0.5.0-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ac6087c4192a5647b3b5ee67a71fce1988dd63f95b4fa082a556aa59e51cb1e
|
|
BLAKE2b-256 checksum How to use checksums |
d9b0899262637c38d4b0497b6b8d2769d882a1031e7961ce678d22d131dee571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 17, 2025.
Transparency log