An implementation of the Random Cut Forest data structure for sketching streaming data, with support for anomaly detection, density estimation, imputation, and more.
java.lang.IllegalArgumentException: incomplete state 255
at com.amazon.randomcutforest.CommonUtils.checkArgument(CommonUtils.java:42)
at com.amazon.randomcutforest.tree.AbstractNodeStore.growNodeBox(AbstractNodeStore.java:315)
at com.amazon.randomcutforest.tree.AbstractNodeStore.growNodeBox(AbstractNodeStore.java:327)
at com.amazon.randomcutforest.tree.RandomCutTree.addPoint(RandomCutTree.java:252)
at com.amazon.randomcutforest.tree.RandomCutTree.addPoint(RandomCutTree.java:51)
at com.amazon.randomcutforest.state.RandomCutForestMapper.lambda$singlePrecisionForest$1(RandomCutForestMapper.java:339)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
at com.amazon.randomcutforest.state.RandomCutForestMapper.singlePrecisionForest(RandomCutForestMapper.java:339)
at com.amazon.randomcutforest.state.RandomCutForestMapper.toModel(RandomCutForestMapper.java:231)
at com.amazon.randomcutforest.state.RandomCutForestMapper.toModel(RandomCutForestMapper.java:55)
at com.amazon.randomcutforest.state.IContextualStateMapper.toModel(IContextualStateMapper.java:24)
at com.amazon.randomcutforest.state.RandomCutForestMapper.toModel(RandomCutForestMapper.java:299)
at com.amazon.randomcutforest.parkservices.state.ThresholdedRandomCutForestMapper.toModel(ThresholdedRandomCutForestMapper.java:50)
at com.amazon.randomcutforest.parkservices.state.ThresholdedRandomCutForestMapper.toModel(ThresholdedRandomCutForestMapper.java:38)
at com.amazon.randomcutforest.state.IStateMapper.toModel(IStateMapper.java:24)
at com.amazon.randomcutforest.parkservices.state.V2TRCFToV3StateConverterTest.testJson(V2TRCFToV3StateConverterTest.java:51)...
Steps to reproduce to get model from AD, Opensearch 2.0:
Load training data with 100 entities and create AD over it
print trcf model when exception is thrown on one of the entities
Deserialize model produced for the entity and there will be an incomplete State 255 error
Steps to reproduce on RCF:
Seed given: 4956439335943109988 Feature input: 88.0
Exception is thrown:
Steps to reproduce to get model from AD, Opensearch 2.0: