Skip to content

Commit 962ae20

Browse files
committed
debug _score
1 parent 3e711ad commit 962ae20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sdgym/benchmark.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ def _compute_scores(
331331
modality,
332332
dataset_name,
333333
):
334+
LOGGER.info('ROM Computing scores for dataset %s', dataset_name)
334335
metrics = metrics or []
335336
if len(metrics) > 0:
336337
metrics, metric_kwargs = get_metrics(metrics, modality='single-table')
@@ -368,6 +369,7 @@ def _compute_scores(
368369
# re-inject list to multiprocessing output
369370
output['scores'] = scores
370371

372+
LOGGER.info('ROM before diagnostic score')
371373
if compute_diagnostic_score:
372374
start = get_utc_now()
373375
if modality == 'single_table':
@@ -379,6 +381,7 @@ def _compute_scores(
379381
output['diagnostic_score_time'] = calculate_score_time(start)
380382
output['diagnostic_score'] = diagnostic_report.get_score()
381383

384+
LOGGER.info('ROM before quality score')
382385
if compute_quality_score:
383386
start = get_utc_now()
384387
if modality == 'single_table':
@@ -387,9 +390,12 @@ def _compute_scores(
387390
quality_report = MultiTableQualityReport()
388391

389392
quality_report.generate(real_data, synthetic_data, metadata, verbose=False)
393+
LOGGER.info('ROM Quality report generated')
390394
output['quality_score_time'] = calculate_score_time(start)
395+
LOGGER.info('ROM before quality score get_score')
391396
output['quality_score'] = quality_report.get_score()
392397

398+
LOGGER.info('ROM before privacy score')
393399
if compute_privacy_score:
394400
start = get_utc_now()
395401
num_rows = len(synthetic_data)

0 commit comments

Comments
 (0)