Table of Contents

Interface IFeatureAware

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Interface for models that can provide information about their feature usage.

public interface IFeatureAware

Methods

GetActiveFeatureIndices()

Gets the indices of features that are actively used by this model.

IEnumerable<int> GetActiveFeatureIndices()

Returns

IEnumerable<int>

IsFeatureUsed(int)

Checks if a specific feature is used by this model.

bool IsFeatureUsed(int featureIndex)

Parameters

featureIndex int

Returns

bool

SetActiveFeatureIndices(IEnumerable<int>)

Sets the active feature indices for this model.

void SetActiveFeatureIndices(IEnumerable<int> featureIndices)

Parameters

featureIndices IEnumerable<int>