LearningAgent standardizeSamples() functional