Cookie Consent
Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.
Read our Privacy Policy

Null Accuracy

Null accuracy is a baseline measure used in classification problems to evaluate the effectiveness of a model. It represents the accuracy that could be achieved by always predicting the most frequent class in the dataset, without any model training.

Importance of Null Accuracy

Understanding null accuracy is important as it provides a benchmark to compare against the performance of a machine learning model. If a model's accuracy is only slightly better than the null accuracy, it might not be very effective. On the other hand, significantly surpassing the null accuracy indicates that the model is learning meaningful patterns from the data.

Lakera LLM Security Playbook
Learn how to protect against the most common LLM vulnerabilities

Download this guide to delve into the most common LLM security risks and ways to mitigate them.

Related terms
untouchable mode.
Get started for free.

Lakera Guard protects your LLM applications from cybersecurity risks with a single line of code. Get started in minutes. Become stronger every day.

Join our Slack Community.

Several people are typing about AI/ML security. 
Come join us and 1000+ others in a chat that’s thoroughly SFW.