fann_sys::fann_randomize_weights [] [src]

pub unsafe extern fn fann_randomize_weights(ann: *mut fann, min_weight: fann_type, max_weight: fann_type)

Give each connection a random weight between min_weight and max_weight.

From the beginning the weights are random between -0.1 and 0.1.

See also

fann_init_weights

This function appears in FANN >= 1.0.0.