DataPoint<T, TInput, TOutput>
Models & Types · AiDotNet.ContinualLearning.Memory
Represents a single data point with input and output.
Known derived types: ExperienceDataPoint<T, TInput, TOutput>
For Beginners
A data point represents one example from the training data. It contains the input (what we show the model), the expected output (what we want it to predict), and a task ID (which task this example belongs to).
Constructors
| Constructor | Summary |
|---|---|
DataPoint(TInput input, TOutput output, int taskId) |
Initializes a new data point. |
Properties
| Property | Summary |
|---|---|
DateTime? AddedAt { get; set; } |
Gets or sets the timestamp when this data point was added. |
IReadOnlyDictionary<string, object> Metadata { get; set; } |
Gets or sets additional metadata about this data point. |
TInput Input { get; } |
Gets the input data. |
TOutput Output { get; } |
Gets the expected output data. |
int TaskId { get; } |
Gets the task identifier this data point belongs to. |
Methods
| Method | Summary |
|---|---|
string ToString() |
Returns a string representation of the data point. |