rectified_linear_unit_function: Rectified Linear Unit Function
Description
This functions calculates the value and the derivative of a rectified linear
function. Reference Vinod Nair, Geoffrey Hinton, Rectified Linear Units
Improve Restricted Boltzmann Machines
Usage
rectified_linear_unit_function(data, weights)
Arguments
data
the data matrix for calculation
weights
the connection (weight matrix/filter) and the bias