F: Free Energy (F)

Description Usage Arguments Value

Description

Compute free energy of a binary vector of visible data for all possible hidden data of chosen size

Usage

1
F(v, hSize, a, b, w)

Arguments

v

A vector containing the binary visible data

hSize

The size of vector containing the hidden data

a

A vector containing the bias values for the visible data

b

A vector containing the bias values for the hidden data

w

A matrix containing the weights between the visible and hidden data

Value

A double value. The free energy for that vector of visible data


jcpetkovich/rspatiotemp documentation built on May 18, 2019, 10:26 p.m.