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
TThe numeric type used for calculations.
TInputThe type of input features.
TOutputThe type of output labels.
- Inherited Members
- Extension Methods
Properties
ClassCount
Gets the number of classes for classification problems.
int ClassCount { get; }
Property Value
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
FeatureNames
Gets the feature names if available.
IReadOnlyList<string>? FeatureNames { get; }
Property Value
IsClassification
Gets whether this is a classification or regression dataset.
bool IsClassification { get; }
Property Value
Metadata
Gets metadata for the dataset.
DatasetMetadata? Metadata { get; }
Property Value
SampleWeights
Gets the sample weights if available.
IReadOnlyList<T>? SampleWeights { get; }