From d4190d2e57d3900d70af13ae54b2d292a34a391f Mon Sep 17 00:00:00 2001 From: gaetanbrison Date: Thu, 19 Dec 2024 18:17:43 +0100 Subject: [PATCH] feature normalization v2 --- carte_ai/src/carte_table_to_graph.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/carte_ai/src/carte_table_to_graph.py b/carte_ai/src/carte_table_to_graph.py index d48da24..604bf5a 100644 --- a/carte_ai/src/carte_table_to_graph.py +++ b/carte_ai/src/carte_table_to_graph.py @@ -187,9 +187,9 @@ def transform(self, X, y=None): X_numerical = self._transform_numerical(X[num_cols_exist]) #print(f"Transformed numerical columns: {X_numerical.head()}") # Check mean and variance for each column - for col in num_cols_exist: - mean = X_numerical[col].mean() - variance = X_numerical[col].var() + #for col in num_cols_exist: + # mean = X_numerical[col].mean() + # variance = X_numerical[col].var() #print(f"Column: {col}, Mean: {mean:.6f}, Variance: {variance:.6f}") data_graph = [