function bnode = randomize_params_logistic(bnode)
% RANDOMIZE_PARAMS_LOGISTIC  Set the parameters of a logistic node to random values.
% bnode = randomize_params_logistic(bnode)
%
% Use randn('state', seed) before calling to control the random values.

if bnode.adjustable
  bnode.glim = glm(bnode.parents_size, 1, 'logistic');
end
