Skip to content

Hierarchical Dense Subtensor Detection in Tensors

License

Notifications You must be signed in to change notification settings

wenchieh/catchcore

Repository files navigation

Hierarchical Dense Subtensor Detection in Tensors

Build Status Python 3.8 GitHub

CatchCore is a novel framework to detect hierarchical dense cores in multi-aspect data (i.e. tensors). CatchCore has the following properties:

  • unified metric: provides a gradient-based optimized framework as well as theoretical guarantees
  • accurate: provides high accuracy in both synthetic and real data
  • effectiveness: spots anomaly patterns and hierarchical dense community
  • scalable: scales almost linearly with all factors of input tensor, also has linearly space complexity

Datasets

The download links for the datasets used in the paper are available online.

Environment

To install required libraries, please type

pip install -r requirements

Building and Running CatchCore

Please see User Guide


Running Demo

Demo for detecting hierarchical dense subtensor, please type

make

Reference

If you use this code as part of any published research, please acknowledge the following papers.

@article{feng2023hierarchical,
  title={Hierarchical Dense Pattern Detection in Tensors},
  author={Feng, Wenjie and Liu, Shenghua and Cheng, Xueqi},
  journal={ACM Transactions on Knowledge Discovery from Data},
  volume={17},
  number={6},
  pages={1--29},
  year={2023},
  publisher={ACM New York, NY}
}

@inproceedings{feng2019catchcore,
  title={CatchCore: Catching Hierarchical Dense Subtensor},
  author={Wenjie Feng, Shenghua Liu, and Xueqi Cheng},
  booktitle={European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML-PKDD)},
  year={2019},
}