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.
 | 
| 
  | 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.  
  | 
|   | 
| 
  | AZ_TYPE_INFO (ILabeledTrainingData, "{50DF457E-3EAC-4114-8444-023E64973AD9}") | 
|   | 
 | 
| static void  | Reflect (AZ::ReflectContext *context) | 
|   | 
 | 
| 
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. 
 
◆ GetDataByIndex()
  
  
      
        
          | const AZ::VectorN & MachineLearning::TrainingDataView::GetDataByIndex  | 
          ( | 
          AZStd::size_t  | 
          index | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ GetLabelByIndex()
  
  
      
        
          | const AZ::VectorN & MachineLearning::TrainingDataView::GetLabelByIndex  | 
          ( | 
          AZStd::size_t  | 
          index | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ GetSampleCount()
  
  
      
        
          | AZStd::size_t MachineLearning::TrainingDataView::GetSampleCount  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ LoadArchive()
  
  
      
        
          | bool MachineLearning::TrainingDataView::LoadArchive  | 
          ( | 
          const AZ::IO::Path &  | 
          imageFilename,  | 
         
        
           | 
           | 
          const AZ::IO::Path &  | 
          labelFilename  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ Reflect()
  
  
      
        
          | static void MachineLearning::TrainingDataView::Reflect  | 
          ( | 
          AZ::ReflectContext *  | 
          context | ) | 
           | 
         
       
   | 
  
static   | 
  
 
AzCore Reflection. 
- Parameters
 - 
  
    | context | reflection context  | 
  
   
 
 
The documentation for this class was generated from the following file:
- Gems/MachineLearning/Code/Source/Assets/TrainingDataView.h