Module Ann_random

module Ann_random: sig .. end
Random generation of the network's weights

val random_weights : Ann_topology.nn_topology -> float array
random_weights nn returns a vector of randomly chosen weights for the network described in nn. The weight of a given network's connection is randomly chosen from a gaussian distribution of standard deviation sigma= sqrt(d), where d is the size of the layer at the 'input' side of the connection (see [Bishop96], section 7.4, p. 260)