mse.mkl: Compute mean square error(MSE) and mean kL divergence (MKL)

Description Usage Arguments Value

View source: R/misc.R

Description

Compute mean square error(MSE) and mean kL divergence (MKL)

Usage

1
mse.mkl(obs, pred, na.rm = TRUE, show.warning = TRUE)

Arguments

obs

observed value

pred

prediction/estimate

na.rm

if to remove NAs

show.warning

if to show warning if any

Value

A vector of c(MSE, MKL)


NNLM documentation built on May 19, 2017, 8:02 p.m.

Search within the NNLM package
Search all R packages, documentation and source code