Skip to content

Commit

Permalink
remove the unnecessary metadata copy
Browse files Browse the repository at this point in the history
  • Loading branch information
fjxmlzn committed Dec 28, 2024
1 parent 7080993 commit 4b75217
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pe/runner/pe.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import numpy as np
import copy

from pe.dp import Gaussian
from pe.data import Data
Expand Down Expand Up @@ -172,7 +171,6 @@ def run(
syn_data_list.append(syn_data)
syn_data = Data.concat(syn_data_list, metadata=self._priv_data.metadata)
syn_data.data_frame.reset_index(drop=True, inplace=True)
syn_data.metadata = copy.deepcopy(self._priv_data.metadata)
syn_data.metadata.iteration = 0
self._log_metrics(syn_data)

Expand Down

0 comments on commit 4b75217

Please sign in to comment.