Giter Site home page Giter Site logo

Comments (2)

zzkluck avatar zzkluck commented on July 29, 2024 1

要搞懂precision ,recall的计算,需要先去了解一下兰德系数。这是一个通用性的聚类结果评价指标,简单来说,如果两条日志事实上属于同一个模板,在你的分类结果里也属于同一个模板,那precision就高。你可以结合logparser/utils/evaluator.py中的实现理解一下。这个指标对于日志解析事实上过于宽松了,所以大家用更严格的Group Accuracy。最近还有些更强大的算法用更更严格的Message Level Accuracy,那就是后话了。

In order to understand how to calculate precision and recall, it's important to first understand the Rand Index. This is a commonly used evaluation metric for clustering results. Simply put, if two log entries belong to the same template and are classified into the same template in your classification results, then the precision is high. You can refer to the implementation in logparser/utils/evaluator.py for a better understanding of how this works. However, this metric is too lenient for log parsing, so most people use the more stringent Group Accuracy metric. Recently, even more powerful algorithms have used the even stricter Message Level Accuracy, but that's a topic for another time. (English version translated by chatgpt)

from logparser.

JinYang88 avatar JinYang88 commented on July 29, 2024

Thanks for your explanation! @zzkluck

from logparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.