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.
|
This wraps any training data set to restrict the range of samples to a subset of the total. More...
#include <TrainingDataView.h>
Inherits MachineLearning::ILabeledTrainingData.
Public Member Functions | |
AZ_TYPE_INFO (TrainingDataView, "{BF396C77-4348-46BA-9606-275A3454738E}", ILabeledTrainingData) | |
TrainingDataView (ILabeledTrainingDataPtr sourceData) | |
bool | IsValid () const |
void | SetSourceData (ILabeledTrainingDataPtr sourceData) |
void | SetRange (AZStd::size_t first, AZStd::size_t last) |
AZStd::size_t | GetOriginalSize () const |
void | ShuffleSamples () |
bool | LoadArchive (const AZ::IO::Path &imageFilename, const AZ::IO::Path &labelFilename) override |
AZStd::size_t | GetSampleCount () const override |
Returns the total number of samples contained in the training data set. | |
const AZ::VectorN & | GetLabelByIndex (AZStd::size_t index) override |
Returns the index-th label in the training data set. | |
const AZ::VectorN & | GetDataByIndex (AZStd::size_t index) override |
Returns the index-th set of activations in the training data set. | |
Public Member Functions inherited from MachineLearning::ILabeledTrainingData | |
AZ_TYPE_INFO (ILabeledTrainingData, "{50DF457E-3EAC-4114-8444-023E64973AD9}") | |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
AZStd::size_t | m_first = 0 |
AZStd::size_t | m_last = 0 |
This wraps any training data set to restrict the range of samples to a subset of the total.
|
overridevirtual |
ILabeledTrainingData interface
Implements MachineLearning::ILabeledTrainingData.
|
static |
AzCore Reflection.
context | reflection context |