By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: How to Teach Machine Learning Models a Sense of Uncertainty | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > How to Teach Machine Learning Models a Sense of Uncertainty | HackerNoon
Computing

How to Teach Machine Learning Models a Sense of Uncertainty | HackerNoon

News Room
Last updated: 2025/10/07 at 3:50 AM
News Room Published 7 October 2025
Share
SHARE

Table of Links

Abstract and 1. Introduction

  1. Motivation and design goals

  2. Related Work

  3. Conformal prediction

    4.1. Mondrian conformal prediction (MCP)

    4.2. Evaluation metrics

  4. Mondrian conformal prediction for Disk Scrubbing: our approach

    5.1. System and Storage statistics

    5.2. Which disk to scrub: Drive health predictor

    5.3. When to scrub: Workload predictor

  5. Experimental setting and 6.1. Open-source Baidu dataset

    6.2. Experimental results

  6. Discussion

    7.1. Optimal scheduling aspect

    7.2. Performance metrics and 7.3. Power saving from selective scrubbing

  7. Conclusion and References

4. Conformal prediction

Conformal prediction (Shafer and Vovk, 2008) is a powerful framework in machine learning that allows for prediction with uncertainty. Unlike traditional point prediction methods used in classification tasks, conformal prediction provides a set prediction. This means that instead of outputting a single predicted label, conformal prediction provides a range of possible labels that are likely to be correct, along with confidence and credibility measures in the correctness of these predictions. This is particularly useful in cases where the prediction task may be uncertain or when the model is dealing with previously unseen data, especially when the application is of high risk (Luo et al., 2022).

Conformal prediction is not limited to classification tasks alone, but it is also valid for regression tasks by providing prediction intervals instead of a single-point prediction. These prediction intervals represent a range of possible values for the target variable, along with a measure of confidence in the correctness of these intervals. This allows for more nuanced and interpretable predictions in regression tasks, where the goal is to estimate a continuous value rather than a discrete class label.

One of the key advantages of conformal prediction is its agnostic nature, which means it can be used with any machine learning algorithm. This flexibility allows for the integration of conformal prediction into various machine learning pipelines without being constrained by the choice of a specific algorithm. This makes conformal prediction a versatile tool that can be applied to various tasks and domains (Messoudi et al., 2020).

A great resource for learning more about conformal prediction is the book ”Algorithmic Learning in a Random World” (Vovk et al., 2022), which provides a detailed overview of the theory and applications of conformal prediction. Additionally, a repository of conformal prediction implementations and resources is maintained on GitHub[1] (Manokhin, 2022), providing practical tools and examples for applying conformal prediction in various machine learning settings. This makes it easier for researchers and practitioners to implement and experiment with conformal prediction in their own work.

The overall approach of conformal prediction in the inductive setting is presented in algorithm 1.

4.1. Mondrian conformal prediction (MCP)

Mondrian conformal prediction (MCP) is a variant of the conformal prediction framework that provides a guarantee on a subset of the dataset, or on specific categories of the dataset. This variant is originally established for a classification problem by creating class-conditional or attribute-conditional categories (Vovk et al., 2003). However, a Mondrian version exists for regressors (Bostr¨om and Johansson, 2020).

In imbalanced datasets, the minority class (i.e., the class with fewer instances) may lead to biased predictions and inaccurate confidence measures. Mondrian conformal prediction is a powerful tool to handle this issue by maintaining the same error rate for both the majority and minority classes, ensuring that the predictions are not biased toward the majority class.

Mondrian conformal prediction has been implemented for various domains in many real-life use cases for academia as well as industry. For instance, (Messoudi et al., 2021) apply MCP for tenant debt prediction in real estate, (Alvarsson et al., 2021) use it for modeling ABC transporters in drug discovery, and (Vishwakarma and Liu, 2021) leverage conformal predictors for detecting persistent storage failure analysis in the enterprise storage domain.

4.2. Evaluation metrics

To evaluate the performance of conformal prediction models, several metrics can be employed. In our study, we will focus only on two:

• Confidence: reflects the certainty of the model that a prediction is a singleton, or a unique outcome. Confidence is based on the concept of p-values, which are used to assess the probability of obtaining an outcome as extreme as the one observed, assuming that the null hypothesis is true. A higher confidence value suggests that the model is more confident about the accuracy of its prediction and that the predicted label is likely to be correct. Conversely, a lower confidence value implies that there may be alternative labels that are equally likely. This metric is defined as:

• Credibility quantifies the likelihood that a sample comes from the training set, as determined by the minimal significance level that would result in an empty prediction region. In other words, credibility is expressed as the largest p-value, which serves as the lower bound for the value of the significance level ϵ that would result in an empty prediction. A higher credibility value indicates a higher likelihood that the sample is consistent with the training set, while a lower credibility value indicates a higher likelihood of the sample being inconsistent with the training set. This metric is defined as:

:::info
This paper is available on arxiv under CC BY-NC-ND 4.0 Deed (Attribution-Noncommercial-Noderivs 4.0 International) license.

:::


[1] https://github.com/valeman/awesome-conformal-prediction


:::info
Authors:

(1) Rahul Vishwakarma, California State University Long Beach, 1250 Bellflower Blvd, Long Beach, CA 90840, United States ([email protected]);

(2) Jinha Hwang, California State University Long Beach, 1250 Bellflower Blvd, Long Beach, CA 90840, United States ([email protected]);

(3) Soundouss Messoudi, HEUDIASYC – UMR CNRS 7253, Universit´e de Technologie de Compiegne, 57 avenue de Landshut, 60203 Compiegne Cedex – France ([email protected]);

(4) Ava Hedayatipour, California State University Long Beach, 1250 Bellflower Blvd, Long Beach, CA 90840, United States ([email protected]).

:::

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article One of my fave SwitchBot robo-vacs is 25% off in Amazon’s Prime sale | Stuff
Next Article Best Wi-Fi Extenders of 2025
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

I’m a Tablet Expert and I’m Telling You This Prime Day Deal Can’t Be Beat
News
Kenya’s Pawa IT CEO found liable in sexual harassment case
Computing
These Shokz bone conduction earphones are my Prime Big Deals Days fitness tip | Stuff
Gadget
I found 7 awesome Amazon Prime Day mini PC deals to replace your bulky desktop or aging laptop
News

You Might also Like

Computing

Kenya’s Pawa IT CEO found liable in sexual harassment case

5 Min Read
Computing

The TechBeat: 5 Best HR And Payroll Software For Small Businesses (October 2025) (10/7/2025) | HackerNoon

6 Min Read
Computing

Intel QAT Zstd Plugin 1.0 Released With Optimizations, Zstd 1.5.7 Support

2 Min Read
Computing

Douyin unveils new support measures aimed at boosting merchant growth · TechNode

2 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?