Navigation
API > API/Plugins > API/Plugins/Learning
PCA settings. The resulting number of dimensions will be based on whatever is lower between MaximumDimensions_, and however many dimensions preserve the given MaximumVarianceRatio_. If the PCA computation is failing ensure `bStableComputation_ is set to true as the non-stable version fails more often than I would expect.
| Name | FPCASettings |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningPCA.h |
| Include Path | #include "LearningPCA.h" |
Syntax
struct FPCASettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bStableComputation | bool | Use a slower but stable version of the computation. | LearningPCA.h | |
| MaximumDimensions | int32 | Maximum number of dimensions to keep. | LearningPCA.h | |
| MaximumVarianceRatio | float | Maximum variance ratio to preserve. | LearningPCA.h | |
| Subsample | int32 | Rate at which to subsample the data when computing the PCA encoding. | LearningPCA.h |