Higher Rank Features¶
- class vanguard.features.HigherRankFeatures(rank, **kwargs)[source]¶
Bases:
DecoratorMake a
GPControllercompatible with higher rank features.GPyTorch assumes that input features are rank-1 (vectors) and a variety of RuntimeErrors are thrown from different places in the code if this is not true. This decorator modifies the gp model class to make it compatible with higher rank features.
- Example:
>>> @HigherRankFeatures(2) ... class NewController(GPController): ... pass
- Parameters: