jax-js-nonconsuming (Fork)
    Preparing search index...
    • Calculates squared error for a set of predictions.

      Mean squared error can be computed as squaredError(a, b).mean().

      Parameters

      • predictions: Array
      • Optionaltargets: Array

      Returns Array