- Notifications
You must be signed in to change notification settings - Fork0
Bing-su/jrcf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Java Random Cut Forest
https://github.com/aws/random-cut-forest-by-aws 저장소의python_rcf_wrapper
를 참고하여 파이썬에서 실행할 수 있도록 구성한 Random Cut Forest 알고리즘입니다.
- Java 8 or later
pip install jrcf
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))
About
Random Cut Forest