timesfm-ts - v1.0.0
    Preparing search index...
    • Mean Absolute Percentage Error.

      MAPE = (100/n) * Σ|(actual_i - predicted_i) / actual_i|

      Points where |actual_i| < 1e-10 are skipped to avoid division by zero.

      Parameters

      • actual: Float32Array
      • predicted: Float32Array

      Returns number