energy_fidelity: Calculate the energy function for fidelity to underlying data

Description Usage Arguments Value Author(s) Examples

Description

The energy_fidelity function calculates the energy associated with the difference between the underlying observed data and the current configuration of the model.

Usage

1

Arguments

y

the underlying observed lattice grid

f

the current configuration of the model for which to compare

Value

A measure of the discordance between the observed data and the model

Author(s)

Kevin Brosnan (kevin.c.brosnan@gmail.com)

Examples

1
2
3
  y <- matrix(sample(c(-1, 1), size = 16, prob = c(0.6, 0.4), replace = TRUE), nrow = 4)
  f <- matrix(sample(c(-1, 1), size = 16, prob = c(0.65, 0.35), replace = TRUE), nrow = 4)
  energy_fidelity(y = y, f = f)

significantstats/gatingfc documentation built on May 8, 2019, 8:48 a.m.