Navigation
API > API/Plugins > API/Plugins/Learning
References
| Module | Learning |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningPCA.h |
| Include | #include "LearningPCA.h" |
Syntax
struct FPCASettings
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bStableComputation | Use a slower but stable version of the computation. | |
| int32 | MaximumDimensions | Maximum number of dimensions to keep. | |
| float | MaximumVarianceRatio | Maximum variance ratio to preserve. | |
| int32 | Subsample | Rate at which to subsample the data when computing the PCA encoding. |