Navigation
API > API/Plugins > API/Plugins/Learning
Represents a PCA transformation which can be used to encode data
| Name | FPCAEncoder |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningPCA.h |
| Include Path | #include "LearningPCA.h" |
Syntax
struct FPCAEncoder
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Matrix | TLearningArray< 2, float > | LearningPCA.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 DimensionNum() |
LearningPCA.h | ||
void Empty() |
LearningPCA.h | ||
int32 FeatureNum() |
LearningPCA.h | ||
FPCAResult Fit
(
const TLearningArrayView< 2, const float > Data, |
Fits a PCA transform to some data | LearningPCA.h | |
void InverseTransform
(
TLearningArrayView< 1, float > OutData, |
Inverse Transform a single vector using the PCA transformation | LearningPCA.h | |
bool IsEmpty() |
LearningPCA.h | ||
bool Serialize
(
FArchive& Ar |
LearningPCA.h | ||
void Transform
(
TLearningArrayView< 1, float > OutData, |
Transform a single vector using the PCA transformation | LearningPCA.h | |
| Transform multiple vectors using the PCA transformation | LearningPCA.h |