ensure pca is handling same DF as inlier

This commit is contained in:
robcaulk 2022-09-07 19:11:54 +02:00
parent ea7bdac9ed
commit e51d352777

View File

@ -467,7 +467,7 @@ class IFreqaiModel(ABC):
if ft_params.get(
"principal_component_analysis", False
):
dk.pca_transform(dataframe)
dk.pca_transform(self.dk.data_dictionary['prediction_features'])
if ft_params.get("use_SVM_to_remove_outliers", False):
dk.use_SVM_to_remove_outliers(predict=True)