Skip to content

Main content

Error Metric Unit Scaling Exponent Tool

Calculate error metric unit scaling exponent from explicit caller-supplied inputs.

Loading tool…

Description

Multiply nonnegative metric by positive unitScale raised to exponent.

Normalizing a metric divides by a declared reference scale or changes it according to its dimensional exponent. Different scales can produce different comparisons from identical errors.

Multiply nonnegative metric by positive unitScale raised to exponent.

When to use this tool

Use Error Metric Unit Scaling Exponent when you need a transparent reference-scale calculation.

How to use the tool and how it works

  1. Enter metric, unitScale, exponent. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read scaledMetric. Use the output convention below.

Multiply nonnegative metric by positive unitScale raised to exponent.1

Input fieldMeaning and unitsAccepted input
metricMetricRequired. Finite number; minimum 0.
unitScaleUnit ScaleRequired. Finite number; strictly above 0.
exponentExponentRequired. Finite number.
Output fieldInterpretationReturned shape
scaledMetricScaled MetricRequired. Finite number.
json
{
  "input": {
    "metric": 3,
    "unitScale": 100,
    "exponent": 2
  },
  "output": {
    "scaledMetric": 30000
  }
}

Limitations and assumptions

  • The caller must know the metric's dimensional exponent; it is not inferred from a metric name.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Report the chosen scale and reference set alongside the original metric, especially when scales are near zero.

References

  1. Calculation and input contract: metrics/error-metric-unit-scaling-exponent — tool.io

Similar or alternative tools