IMetaLearningTask<T, TInput, TOutput>
Interfaces · AiDotNet.Interfaces
Represents a single meta-learning task for few-shot learning.
Known implementations: MetaLearningTaskBase<T, TInput, TOutput>, MetaLearningTask<T, TInput, TOutput>
Properties
| Property | Summary |
|---|---|
Dictionary<string, object> Metadata { get; } |
Gets the additional metadata about the task. |
TInput QueryInput { get; } |
Gets the input features for the query set. |
TInput QuerySetX { get; } |
Gets the input features for the query set (alias for QueryInput). |
TInput SupportInput { get; } |
Gets the input features for the support set. |
TInput SupportSetX { get; } |
Gets the input features for the support set (alias for SupportInput). |
TOutput QueryOutput { get; } |
Gets the target labels for the query set. |
TOutput QuerySetY { get; } |
Gets the target labels for the query set (alias for QueryOutput). |
TOutput SupportOutput { get; } |
Gets the target labels for the support set. |
TOutput SupportSetY { get; } |
Gets the target labels for the support set (alias for SupportOutput). |
int NumQueryPerClass { get; } |
Gets the number of query examples per class. |
int NumShots { get; } |
Gets the number of shots (examples per class) in the support set. |
int NumWays { get; } |
Gets the number of ways (classes) in this task. |
int? TaskId { get; set; } |
Gets or sets an optional identifier for the task. |
string Name { get; } |
Gets an optional name or identifier for the task. |