class_docstr: Contains an error breakdown by types of contribution bounding.
  
  Attributes:
      l0: max_partition_contributed (aka l0) bounding error. The output of l0
        bounding is a random variable for each partition. Its distribution is
        close to normal when number of contribution per partition is large.
      linf_min & linf_max: represents error due to min & max contribution
        bounding, respectively (only populated for Sum metrics). It is
        deterministic for each partition.
class_docstr_tok: ["Contains","an","error","breakdown","by","types","of","contribution","bounding",".","Attributes",":","l0",":","max_partition_contributed","(","aka","l0",")","bounding","error",".","The","output","of","l0","bounding","is","a","random","variable","for","each","partition",".","Its","distribution","is","close","to","normal","when","number","of","contribution","per","partition","is","large",".","linf_min","&","linf_max",":","represents","error","due","to","min","&","max","contribution","bounding",",","respectively","(","only","populated","for","Sum","metrics",")",".","It","is","deterministic","for","each","partition","."]
docstr: Converts from the absolute to the relative error dividing by actual value.
docstr_tok: ["Converts","from","the","absolute","to","the","relative","error","dividing","by","actual","value","."]
code: def to_relative(self, value: float) -> "ContributionBoundingErrors":
      """Converts from the absolute to the relative error dividing by actual value."""
      l0_rel_mean_var = MeanVariance(
          self.l0.mean / value, self.l0.var / value**2
      )
      return ContributionBoundingErrors(
          l0=l0_rel_mean_var,
          linf_min=self.linf_min / value,
          linf_max=self.linf_max / value,
      )
  
file_path: pipelinedp/analysis/metrics.py
imports: from enum import Enum
  import pipeline_dp
  from dataclasses import dataclass
  from typing import List, Optional
  import math
label_desc: Use image node_id 1 for calling the ContributionBoundingErrors obj's underlying member method code with example usage: obj.to_relative(value) and returns: ContributionBoundingErrors