DeepLog icon indicating copy to clipboard operation
DeepLog copied to clipboard

Hi Wuyifan

Open Hammadtcs opened this issue 6 years ago • 2 comments

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

Hammadtcs avatar Mar 18 '19 10:03 Hammadtcs

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

wuyifan18 avatar Mar 20 '19 03:03 wuyifan18

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).

Hammadtcs avatar Mar 20 '19 10:03 Hammadtcs