logpai / loglizer

A machine learning toolkit for log-based anomaly detection [ISSRE'16]
MIT License
1.28k stars 426 forks source link

How to use bgl_preprocess_data function? #79

Open anissa404 opened 3 years ago

anissa404 commented 3 years ago

Hello community,

i know there is a description of the function bgl_preprocess_data in the source code, but still I do not know what to do. What is the raw data? Is raw data the data in the unprocessed logfile or is raw data the parsed log file with event templates? And what is the event mapping data? The resulting csv-file where only the event id's and event templates are listed?

I'm trying to apply the loglizer models on BGL.

I'm lost :O Could anyone give me a hint?

Thanks in advance :)

anissa404 commented 3 years ago

And how to use the function in demo? Do I substitute 'load_hdfs' with bgl_preprocess_data or do I use the resulting Matrix of bgl_preprocess_data for model.fit?