Skip to content

Commit

Permalink
feature normalization v2
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanbrison committed Dec 19, 2024
1 parent aaa62ee commit d4190d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions carte_ai/src/carte_table_to_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit d4190d2

Please sign in to comment.