Table of Contents

Interface IExtendedDataset<T, TInput, TOutput>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Extended dataset interface with additional metadata and features.

public interface IExtendedDataset<T, TInput, TOutput> : IDataset<T, TInput, TOutput>

Type Parameters

T

The numeric type used for calculations.

TInput

The type of input features.

TOutput

The type of output labels.

Inherited Members
Extension Methods

Properties

ClassCount

Gets the number of classes for classification problems.

int ClassCount { get; }

Property Value

int

Remarks

Returns 0 for regression problems.

ClassLabels

Gets the unique class labels for classification problems.

IReadOnlyList<TOutput>? ClassLabels { get; }

Property Value

IReadOnlyList<TOutput>

FeatureCount

Gets the number of features per input sample.

int FeatureCount { get; }

Property Value

int

FeatureNames

Gets the feature names if available.

IReadOnlyList<string>? FeatureNames { get; }

Property Value

IReadOnlyList<string>

IsClassification

Gets whether this is a classification or regression dataset.

bool IsClassification { get; }

Property Value

bool

Metadata

Gets metadata for the dataset.

DatasetMetadata? Metadata { get; }

Property Value

DatasetMetadata

SampleWeights

Gets the sample weights if available.

IReadOnlyList<T>? SampleWeights { get; }

Property Value

IReadOnlyList<T>