wuyifan18 / DeepLog

Pytorch Implementation of DeepLog.
MIT License
374 stars 155 forks source link

Hi Wuyifan #7

Open Hammadtcs opened 5 years ago

Hammadtcs commented 5 years ago

Hi, Please let me know sequence of execution of the 3 given python files and what all input needs to be given and output is expected in each step of execution.

Thanks Hamad

wuyifan18 commented 5 years ago

Hi Hamad, Firstly, you should execute LogKeyModel_train.py, and then execute LogKeyModel_predict.py. DataViewing.py is just a data viewing to see there are how many templates, training data and so on. The input of LogKeyModel_train.py is in DeepLog/data/hdfs_train and the output is the model we trained. The input of LogKeyModel_predict.py is in DeepLog/data/hdfs_test_normal and DeepLog/data/hdfs_test_abnormal and the output is the metrics of the model we trained including precision, recall and F1-measure.

Yifan Wu

Hammadtcs commented 5 years ago

Thanks @wuyifan18 , it really helped. I was able to execute same sucessfully but request you to guide on how to convert structured text into numbers(like you have done in DeepLog/data/hdfs_train).