Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Random Cut Forest

License

NotificationsYou must be signed in to change notification settings

Bing-su/jrcf

Repository files navigation

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

pip install jrcf

Usage

importnumpyasnpfromtqdm.autoimporttqdmfromjrcf.rcfimportRandomCutForestModeldim=5forest=RandomCutForestModel(dimensions=dim)TEST_DATA=np.random.normal(size=(100000,dim))forpointintqdm(TEST_DATA):score=forest.score(point)forest.update(point)pp= [999]*dimprint(forest.score(pp))

[8]ページ先頭

©2009-2025 Movatter.jp