Table of Contents

Class SceneClassificationResult<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Result of scene classification.

public class SceneClassificationResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
SceneClassificationResult<T>
Inherited Members

Properties

AllProbabilities

Gets all probabilities as a dictionary (legacy API compatibility).

public IReadOnlyDictionary<string, T> AllProbabilities { get; }

Property Value

IReadOnlyDictionary<string, T>

AllScenes

Gets or sets all scene predictions sorted by probability.

public IReadOnlyList<ScenePrediction<T>> AllScenes { get; set; }

Property Value

IReadOnlyList<ScenePrediction<T>>

Category

Gets or sets the scene category (indoor/outdoor/transportation).

public string Category { get; set; }

Property Value

string

Characteristics

Gets or sets detected acoustic characteristics.

public AcousticCharacteristics<T>? Characteristics { get; set; }

Property Value

AcousticCharacteristics<T>

Confidence

Gets or sets the confidence score.

public T Confidence { get; set; }

Property Value

T

Features

Gets or sets extracted features used for classification (legacy API compatibility).

public SceneFeatures<T>? Features { get; set; }

Property Value

SceneFeatures<T>

PredictedScene

Gets or sets the predicted scene.

public string PredictedScene { get; set; }

Property Value

string

TopPredictions

Gets top predictions as a list of tuples (legacy API compatibility).

public IReadOnlyList<(string Scene, T Probability)> TopPredictions { get; }

Property Value

IReadOnlyList<(string Label, T Probability)>