smse: Scaled mean squared error (SMSE)

Description Usage Arguments Value

View source: R/fitness.r

Description

Calculates the MSE between vectors after scaling them. Beware that this error measure is invariant to scaling with negative constants, i.e. the multiplicative inverse of the true functions also receives an error of 0. See http://www2.cs.uidaho.edu/~cs472_572/f11/scaledsymbolicRegression.pdf for details.

Usage

1
smse(x, y)

Arguments

x

A numeric vector or list.

y

A numeric vector or list.

Value

The NMSE between x and y.


rgp documentation built on May 30, 2017, 12:45 a.m.