Open 3D Engine MachineLearning Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
MachineLearning::ILabeledTrainingData Struct Referenceabstract

Inherited by MachineLearning::MnistDataLoader, and MachineLearning::TrainingDataView.

Public Member Functions

 AZ_TYPE_INFO (ILabeledTrainingData, "{50DF457E-3EAC-4114-8444-023E64973AD9}")
 
virtual bool LoadArchive (const AZ::IO::Path &imageFilename, const AZ::IO::Path &labelFilename)=0
 Loads the indicated label and data files.
 
virtual AZStd::size_t GetSampleCount () const =0
 Returns the total number of samples contained in the training data set.
 
virtual const AZ::VectorN & GetLabelByIndex (AZStd::size_t index)=0
 Returns the index-th label in the training data set.
 
virtual const AZ::VectorN & GetDataByIndex (AZStd::size_t index)=0
 Returns the index-th set of activations in the training data set.
 

The documentation for this struct was generated from the following file: