You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"ref_scores must be 1-dimensional, got shape {ref_scores.shape}. This should not happen, please file a bug report."
174
+
f"ref_scores must be 1-dimensional, got shape {ref_scores.shape}. This should not happen, please file a bug report."
175
175
)
176
176
177
177
assertref_scores.ndim==1andgen_scores.ndim==1
@@ -587,9 +587,9 @@ def compute(
587
587
588
588
Returns:
589
589
Typed dictionary of scores.
590
-
The key `"polygraphscore"` specifies the PolyGraphDiscrepancy, giving the estimated tightest lower-bound on the probability metric.
591
-
The key `"polygraphscore_descriptor"` specifies the descriptor that achieves this bound.
592
-
All descritor-wise scores are returned in the key `"subscores"`.
590
+
The key `"pgd"` specifies the PolyGraphDiscrepancy, giving the estimated tightest lower-bound on the probability metric.
591
+
The key `"pgd_descriptor"` specifies the descriptor that achieves this bound.
592
+
All descriptor-wise scores are returned in the key `"subscores"`.
593
593
"""
594
594
all_metrics= {
595
595
name: metric.compute(generated_graphs)
@@ -665,7 +665,7 @@ def compute(
665
665
Typed dictionary of scores.
666
666
The key `"pgd"` specifies the PolyGraphDiscrepancy, giving mean and standard deviation as [`MetricInterval`][polygraph.metrics.base.metric_interval.MetricInterval] objects.
667
667
The key `"pgd_descriptor"` describes which descriptors achieve this score. This is a dictionary mapping descriptor names to the ratio of samples in which the descriptor was chosen.
668
-
All descritor-wise scores are returned in the key `"subscores"`. These are [`MetricInterval`][polygraph.metrics.base.metric_interval.MetricInterval] objects.
668
+
All descriptor-wise scores are returned in the key `"subscores"`. These are [`MetricInterval`][polygraph.metrics.base.metric_interval.MetricInterval] objects.
0 commit comments