Table of Contents

Class RegressionConformalInterval<TOutput>

Namespace
AiDotNet.Models.Results
Assembly
AiDotNet.dll

Represents a conformal prediction interval for regression-style outputs.

public sealed class RegressionConformalInterval<TOutput>

Type Parameters

TOutput

The output type (e.g., Tensor<T>, Vector<T>, or scalar type).

Inheritance
RegressionConformalInterval<TOutput>
Inherited Members

Remarks

The interval is typically computed as [prediction - q, prediction + q] where q is a quantile of calibration residuals.

For Beginners: Instead of a single number, you get a range where the true value is likely to fall.

Constructors

RegressionConformalInterval(TOutput, TOutput)

Initializes a new instance of the RegressionConformalInterval<TOutput> class.

public RegressionConformalInterval(TOutput lower, TOutput upper)

Parameters

lower TOutput

Lower bound.

upper TOutput

Upper bound.

Properties

Lower

Gets the lower bound of the interval.

public TOutput Lower { get; }

Property Value

TOutput

Upper

Gets the upper bound of the interval.

public TOutput Upper { get; }

Property Value

TOutput