Table of Contents

Class CertifiedPrediction<T>

Namespace
AiDotNet.Models
Assembly
AiDotNet.dll

Represents a certified prediction with robustness guarantees.

public class CertifiedPrediction<T>

Type Parameters

T

The numeric data type used for calculations.

Inheritance
CertifiedPrediction<T>
Inherited Members

Properties

CertificationDetails

Gets or sets additional certification information.

public Dictionary<string, object> CertificationDetails { get; set; }

Property Value

Dictionary<string, object>

CertifiedRadius

Gets or sets the certified robustness radius.

public T CertifiedRadius { get; set; }

Property Value

T

Remarks

The prediction is guaranteed to remain the same for all inputs within this radius.

Confidence

Gets or sets the confidence score for the prediction.

public double Confidence { get; set; }

Property Value

double

IsCertified

Gets or sets whether the prediction could be certified.

public bool IsCertified { get; set; }

Property Value

bool

LowerBound

Gets or sets the lower bound on the probability of the predicted class.

public double LowerBound { get; set; }

Property Value

double

PredictedClass

Gets or sets the predicted class label.

public int PredictedClass { get; set; }

Property Value

int

UpperBound

Gets or sets the upper bound on the probability of the predicted class.

public double UpperBound { get; set; }

Property Value

double