Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiadams committed Dec 16, 2024
1 parent 091c218 commit 294de30
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions syndat/scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ def correlation(real: pd.DataFrame, synthetic: pd.DataFrame, score=True) -> floa
if not corr_real.drop(columns=one_hot_encoded_columns).empty:
corr_real = corr_real.drop(columns=one_hot_encoded_columns)
corr_synthetic = corr_synthetic.drop(columns=one_hot_encoded_columns)
# assure both matrices have the same columns
corr_synthetic = corr_synthetic[corr_real]
# now compute correlation matrices
corr_diff = corr_real - corr_synthetic
norm_diff = np.linalg.norm(corr_diff)
Expand Down

0 comments on commit 294de30

Please sign in to comment.