mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
make sure default PCA behavior reduces parameter space size
This commit is contained in:
parent
4a886e1b97
commit
6b201d525e
|
@ -515,7 +515,7 @@ class IFreqaiModel(ABC):
|
|||
]
|
||||
|
||||
if ft_params.get("principal_component_analysis", False):
|
||||
pipe_steps.append(('pca', ds.PCA()))
|
||||
pipe_steps.append(('pca', ds.PCA(n_components=0.999)))
|
||||
pipe_steps.append(('post-pca-scaler',
|
||||
SKLearnWrapper(MinMaxScaler(feature_range=(-1, 1)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user