tensortrade.pipeline.transformers.correlation_threshold module¶
- class tensortrade.pipeline.transformers.correlation_threshold.CorrelationThresholdTransformer(threshold: float = 0.85, *, price_column: str = 'close')[source]¶
Bases:
AbstractTransformerTransformer that removes features based on a correlation threshold.
- Params threshold:
The correlation threshold above which features are considered highly correlated and one of them will be removed. (Default = 0.85)
- Params price_column:
The price column, that should not be removed.