TrainingExample

data class TrainingExample(val input: FloatArray, val expectedOutput: FloatArray, val timestamp: Long)

Training example data structure for neural network learning.

Encapsulates a single training instance with input features, expected output values, and temporal metadata for analysis.

Components:

  • input: Feature vector inputSize representing interaction context

  • expectedOutput: Target values outputSize for supervised learning

  • timestamp: Unix epoch timestamp for temporal analysis and cleanup

Usage Patterns:

Parameters

input

Feature vector extracted from user interaction data

expectedOutput

Target prediction values for supervised learning

timestamp

Creation time for temporal analysis and data lifecycle management

Constructors

Link copied to clipboard
constructor(input: FloatArray, expectedOutput: FloatArray, timestamp: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard