Skip to content
/ JavaRRCF Public

Java implementation of a Robust Random Cut Forest for streaming, unsupervised, adaptive anomaly detection

License

Notifications You must be signed in to change notification settings

jaren/JavaRRCF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaRRCF: Java implementation of a Robust Random Cut Forest

License: MIT

About

Usage

General package:

  • Includes generalized versions of Random Cut Trees and Random Cut Forests
  • Essentially the same as kLabUM/rrcf
  • Supports multidimensional data

Memory package (deprecated):

  • Theoretically decreases minimum memory usage by about 40%, unclear how this actually affects the numbers in practice though
  • Attempted memory-optimized version of RRCF (storing only delta bounding boxes and using a shared buffer for shingled points)
  • Less time efficient
  • Intended for use with shingled single-dimensional data

Sample run command (with Numenta anomaly benchmark taxi data):

mvn package -DskipTests && curl https://raw.githubusercontent.com/numenta/NAB/master/data/realKnownCause/nyc_taxi.csv | tail -n +2 | awk -F',' '{print $2}' | time bash -c "java -cp target/rrcf-1.0.jar rrcf.ShingleCsv false false 48 200 1000 1234 > ~/Downloads/output.csv"

About

Java implementation of a Robust Random Cut Forest for streaming, unsupervised, adaptive anomaly detection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages