From 7be8a879dc5379c8dcd208755f97930d97180313 Mon Sep 17 00:00:00 2001
From: Claudio Zandonella <claudiozandonella@gmail.com>
Date: Tue, 21 Feb 2023 18:22:16 +0100
Subject: [PATCH] Remove preprocessing in reporting

Do not run preprocessing because in the case of decomposing techniques
variables are not longer interpretable
---
 justclust/plots.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/justclust/plots.py b/justclust/plots.py
index 66f7cf2..7083282 100644
--- a/justclust/plots.py
+++ b/justclust/plots.py
@@ -714,9 +714,11 @@ def reporting(
     # apply all the pre-processing transformations
     preprocs = [] if preprocs is None else preprocs
     tdata = data.copy()
-    for pre in preprocs:
-        if pre is not None:
-            tdata = pre.fit_transform(tdata)
+    # Do not run preprocessing because in the case of decomposing techniques
+    # variables are not longer interpretable
+    # for pre in preprocs:
+    #     if pre is not None:
+    #         tdata = pre.fit_transform(tdata)
 
     tdata = pd.DataFrame(
         tdata,
-- 
GitLab