COMPUTE ERROR BETWEEN TWO SETS OF CURVES BASED ON R2, MSD, NMAD, RE AND RETURN A DATASET

Computes a scalar error metric between two sets of curves using one of eight supported measures (NMAD, MSD, RE, R², Fréchet, Euclidean, DTW, or Partial DTW) and returns the results as a tabular dataset. Use this worker to quantitatively compare simulation-vs-simulation or simulation-vs-test curve sets within a d3VIEW workflow.

When to use

Classification: process.

Tagged: curve_comparison, dtw, error_metric, euclidean, frechet, msd, nmad, r2.

Inputs

Label ID Type Default Required Description
Reference Curves ref_curves vector   One or more reference (baseline) curves against which comparisons are made; accepts multiple vector curves — typically physical-test or trusted-simulation time-histories.
Compare Curves compare_curves vector   One or more candidate curves to compare against the reference set; must be on a compatible x-axis domain for meaningful error computation.
Error Type type_of_error scalar nmad   Error metric to apply across each curve pair; choose from NMAD (default), MSD, RE, R², Fréchet Distance, Euclidean Distance, DTW, or Partial DTW — leave at default ‘nmad’ for a normalised, magnitude-independent comparison.

Outputs

Label ID Type Description
Errors curves_error dataset Dataset (tabular) containing the computed error value for each reference/compare curve pairing, one row per pair, with columns identifying the curve names and the chosen metric value.

Disciplines

  • data.correlation
  • data.curve.pair
  • data.statistics

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_error_dataset


Auto-generated from transformation schema. Worker id: curves_error_dataset. Schema hash: bae6d2290603. Hand-curated docs in workerexamples/ override this page when present.