Table of Contents

Class DocumentClassificationResult<T>

Namespace
AiDotNet.Document.Interfaces
Assembly
AiDotNet.dll

Result of document classification.

public class DocumentClassificationResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
DocumentClassificationResult<T>
Inherited Members

Properties

Confidence

Gets or sets the confidence score as generic type.

public T Confidence { get; set; }

Property Value

T

ConfidenceValue

Gets or sets the confidence score as double.

public double ConfidenceValue { get; set; }

Property Value

double

PredictedCategory

Gets or sets the predicted document category.

public string PredictedCategory { get; set; }

Property Value

string

ProcessingTimeMs

Gets or sets the processing time in milliseconds.

public double ProcessingTimeMs { get; set; }

Property Value

double

TopPredictions

Gets or sets the top-K predictions with their scores.

public IList<(string Category, double Score)> TopPredictions { get; set; }

Property Value

IList<(string Category, double Score)>