Skip to content
Snippets Groups Projects
Commit 0c23a584 authored by Danilo Ferreira de Lima's avatar Danilo Ferreira de Lima
Browse files

Corrected compatibility check.

parent 35d0b3db
No related branches found
No related tags found
1 merge request!5Check consistency per channel
......@@ -652,9 +652,9 @@ class Model(TransformerMixin, BaseEstimator):
"""
selection_model = self.x_model['select']
low_res = selection_model.transform(low_res_data, keep_dictionary_structure=True)
pca_model = self.channel_pca_model.named_steps['pca']
quality = {channel: 0.0 for channel in low_res.keys()}
for channel in low_res.keys():
pca_model = self.channel_pca_model[channel].named_steps['pca']
low_pca = pca_model.transform(low_res[channel])
low_pca_rec = pca_model.inverse_transform(low_pca)
low_pca_unc = self.channel_pca_model.named_steps['unc'].uncertainty()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment