An implementation of Perfguard.
We leverage the plan generation method from Lero repo to generate plans as trainging data set and testing data set. Moreover, the feature generation method of Lero are used to extract features from plans.
- Configure python runtime environment
pip install -r requirement.txt
- Modify necessary configuration about training and testing in
ImportConfig.py
. - Train and test
# 1. train
python train.py
# 2. test
python test.py